Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 20556 invoked from network); 23 Aug 2005 13:49:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 13:49:41 -0000 Received: (qmail 27981 invoked by uid 500); 23 Aug 2005 13:49:39 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 27737 invoked by uid 500); 23 Aug 2005 13:49:38 -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 27724 invoked by uid 99); 23 Aug 2005 13:49:38 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 06:49:37 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id EBEFF122; Tue, 23 Aug 2005 15:49:36 +0200 (CEST) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 36320] New: - JXPathContext.getValue(xPath) trims the string X-Bugzilla-Reason: AssignedTo Message-Id: <20050823134936.EBEFF122@ajax.apache.org> Date: Tue, 23 Aug 2005 15:49:36 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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=36320 Summary: JXPathContext.getValue(xPath) trims the string Product: Commons Version: 1.2 Final Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: JXPath AssignedTo: commons-dev@jakarta.apache.org ReportedBy: mathis@vtg.at If an XML document contains a tag which has a blank at the beginning or at the end the method "getValue(String xpath)" trims the resulting string. I think this behaviour is invalid. The code can be found in the class org.apache.commons.jxpath.ri.model.dom.DOMNodePointer at the method stringValue(Node node) This behaviour is the same in release 1.1 and 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