commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JXPATH-189) UnionContext cannot be a paramter of XPath extension function
Date Fri, 17 Jun 2016 06:09:05 GMT
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)

Mime
View raw message