[Koha-bugs] [Bug 13262] Add parameters to XSLT Handler transform method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 23 14:06:21 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13262

--- Comment #5 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Maybe we should just be pragmatic here and replace the lines:

require XML::LibXML;
my $dom = XML::LibXML->load_xml(string => $output);
my $result = $dom->find( '/just_a_tagname' );

by a simple test like index($output,'this is a test')>0

LibXML uses overloading in XML::LibXML::Literal (and others) called from
XML::LibXML::Node. Debugging this stuff seems much harder than just simplifying
the test..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list