]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1442276 pgTAP test for oils_xslt_process
authorDan Scott <dan@coffeecode.net>
Fri, 3 Mar 2017 21:03:30 +0000 (16:03 -0500)
committerDan Scott <dscott@laurentian.ca>
Sun, 12 Mar 2017 04:19:40 +0000 (23:19 -0500)
commit09a3ae2c1eb904fe03dc41bf71d57fc419bb04b3
treef832452f4808dfe04f4afce15e500456d01b6fb5
parent471807efdf03816b6b22aebf0ff29a0e3e730699
LP#1442276 pgTAP test for oils_xslt_process

In moving from the deprecated XML::LibXSLT::output_string() to output_as_chars(),
add a regression test to ensure that we do not suffer from corrputed encoding
output in the future.

We test both the case where an output encoding has been explicitly declared,
as well as the case where an output encoding has not been explicitly declared.
It was this subtle difference that was causing the problem with output_string().

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/sql/Pg/t/regress/lp1442276_oils_xslt_encoding.pg [new file with mode: 0644]