]> git.evergreen-ils.org Git - contrib/Conifer.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:21:13 +0000 (23:21 -0500)
commit4f2604a7209613cc01acca1db91a79e2fe247803
tree2744901b159979d63d7a455d26cdf83cbebd4bd1
parentf6203116e2623d9be0be8be6b0e6143e574179b3
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]