Magle created JXPATH-189:
----------------------------
Summary: UnionContext cannot be a paramter of XPath extension
function
Key: JXPATH-189
URL: https://issues.apache.org/jira/browse/JXPATH-189
Project: Commons JXPath
Issue Type: Bug
Affects Versions: 1.3
Reporter: Magle
Priority: Minor
When getNodeSet() of a UnionContext object is invoked, it's possible that the
"nodeSet" doesn't be prepared from "contexts", a empty nodeSet will be returned.
for example, an extension function test:count(nodeSet) to get the total count
of the nodeSet. it doesn't work for UnionContext, test:count('abc'|'ed'), the
result will be 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)