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

--- Comment #8 from David Cook <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to