commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27401] New: - createPathAndSetValue fails
Date Wed, 03 Mar 2004 09:04:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27401>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27401

createPathAndSetValue fails

           Summary: createPathAndSetValue fails
           Product: Commons
           Version: 1.1 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: JXPath
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: mathis@vtg.at


jXPathContext.createPathAndSetValue("/element1/element2/1_numberelement","val"));
fails with the following error:

org.apache.commons.jxpath.JXPathException: Invalid XPath:
'/element1/element2/1_numberelement'. Syntax error after: '/element1/element2/'
	at org.apache.commons.jxpath.ri.Parser.parseExpression(Parser.java:106)
	at
org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.compileExpression(JXPathContextReferenceImpl.java:248)
	at
org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.createPathAndSetValue(JXPathContextReferenceImpl.java:421)

This does not happen when I rename the path to "/element1/element2/numberelement_1".

Gtx,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message