commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Albrecht (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JXPATH-188) Ancestor: not reverse axis in case of org.w3c.dom documents
Date Thu, 10 Dec 2015 13:22:10 GMT

     [ 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)

Mime
View raw message