Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 97890 invoked from network); 3 Jan 2007 23:48:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2007 23:48:29 -0000 Received: (qmail 68830 invoked by uid 500); 3 Jan 2007 23:48:33 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 68765 invoked by uid 500); 3 Jan 2007 23:48:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 68746 invoked by uid 99); 3 Jan 2007 23:48:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 15:48:33 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 15:48:25 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id 38E82714327; Wed, 3 Jan 2007 15:48:04 -0800 (PST) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 38586] - [jxpath] Descendant or self axis does not work correctly at root node In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20070103234804.38E82714327@brutus.apache.org> Date: Wed, 3 Jan 2007 15:48:04 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=38586 ------- Additional Comments From sar@gazeta.pl 2007-01-03 15:48 ------- Created an attachment (id=19348) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19348&action=view) Path proposal to fix this problem Adding a patch proposition for this bug. As written here before, bug actually appears when xpatch is like "//root". It appears also when a dom is inside any java structure (for example: map.put("test", new Document(new Element("root"))); xpatch for "//root" would return null). Exactly the same bug was both for JDom and Dom; both are fixed. Modifies 4 files: main: JDOMNodePointer.java DOMNodePointer.java tests: JDOMModelTest.java DOMModelTest.java This patch is to latest version (2.2?), not to version 1.2. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org