You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Albrecht (JIRA)" <ji...@apache.org> on 2015/12/10 14:22:10 UTC
[jira] [Updated] (JXPATH-188) Ancestor: not reverse axis in case of
org.w3c.dom documents
[ https://issues.apache.org/jira/browse/JXPATH-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Albrecht updated JXPATH-188:
-----------------------------------
Attachment: AncestorTest.java
> Ancestor: not reverse axis in case of org.w3c.dom documents
> -----------------------------------------------------------
>
> Key: JXPATH-188
> URL: https://issues.apache.org/jira/browse/JXPATH-188
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Stefan Albrecht
> Attachments: AncestorTest.java
>
>
> XPath specifies the ancestor axis to be a reverse axis, thus I would expect that JXPath delivers results along the reverse axis. This works, if applied to a context wrapping a poje, but not if the context wraps an org.w3c.dom document.
> I attached a JUnit test for this (but, unluckily, not a patch...)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)