I need to evaluate an xpath expression without knowing its return value in advance. I don't care about the distinction between a Node and a NodeSet, but I do care about ...
Going through the XPath.compile API, I was under the impression that it would return a valid XPathExpression or throw.
Indeed, it doesn't make sense that any compiler would return an ...