[
https://issues.apache.org/jira/browse/JXPATH-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Schlegel updated JXPATH-189:
-----------------------------------
Attachment:
JXPATH-189__fix_UnionContext_initialisation_when_accessed_by_value.patch
> 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
> Attachments:
> JXPATH-189__fix_UnionContext_initialisation_when_accessed_by_value.patch
>
> Original Estimate: 5h
> Remaining Estimate: 5h
>
> 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
(v8.20.10#820010)