]> 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:10:02 +0000 (23:10 -0500)
commit0f5d784ce9952dc17e65e40a1493c61612fc7399
tree2e17baef05d68c528579048a4af943f149eb546e
parentd6b620262f4dc883b14cedf0c4225d3ef145755e
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]