]> git.evergreen-ils.org Git - working/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 <dan@coffeecode.net>
Fri, 3 Mar 2017 21:07:48 +0000 (16:07 -0500)
commit10c96bf296ccd171eb641be11cebf710b627bd6f
tree6c66b679339a60ca106d2d048dd89f12253a1efa
parentdf58247cdf606be3407c759011ce0c326fa6e1ce
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>
Open-ILS/src/sql/Pg/t/regress/lp1442276_oils_xslt_encoding.pg [new file with mode: 0644]