According to the XML::XPath manpage, findvalue returns an
XML::XPath::Literal or other object, but I've found that it sometimes
returns a plain string.
For instance $obj->findvalue('//myname') will return a string, but
$obj->findvalue('normalize-space(//myname)') will return a Literal.
This means that in some cases we can call string_value on the returned
object, and sometimes we can't.
I think findvalue should always return an object and never a plain
string, and getNodeText (which returns plain strings) should be allowed
on all objects that findvalue is valid on, like XML::XPath::Node::Element
objects for instance.... Or, make findvalue always return plain strings.
The point is that what it returns should be consistent