[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
Thu Nov 27 00:23:45 CET 2014


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

--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
I don't know why the original test failed for Kyle when it worked for Marcel
and myself.

However, I've explicitly added a to_literal() method to the result, which
should make the test work for everyone. I imagine it was due to having
different versions of XML::LibXML.

I was wrong about it being a XML::LibXML::Literal though. It was actually a
XML::LibXML::Element within a XML::LibXML::NodeList, which makes sense as the
XPATH results an element. I could've been more specific and had it grab the
element's child text node, but it doesn't really matter. Doing "to_literal()"
will be perfectly fine. Better even as it makes sure nothing else gets into
that element than what we put into it.

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


More information about the Koha-bugs mailing list