Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36081182A9 for ; Thu, 10 Dec 2015 13:23:27 +0000 (UTC) Received: (qmail 57194 invoked by uid 500); 10 Dec 2015 13:22:50 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 56897 invoked by uid 500); 10 Dec 2015 13:22:33 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 56233 invoked by uid 99); 10 Dec 2015 13:22:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2015 13:22:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E57512C14DC for ; Thu, 10 Dec 2015 13:22:10 +0000 (UTC) Date: Thu, 10 Dec 2015 13:22:10 +0000 (UTC) From: "Stefan Albrecht (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JXPATH-188) Ancestor: not reverse axis in case of org.w3c.dom documents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)