You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/03/03 10:04:58 UTC
DO NOT REPLY [Bug 27401] New: -
createPathAndSetValue fails
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