commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Plotnikov <dplot...@yahoo.com>
Subject Re: DO NOT REPLY [Bug 11817] - org.apache.commons.jxpath.JXPathException: No value for xpath: /property1[@prop1='ONE']
Date Mon, 19 Aug 2002 14:58:36 GMT
Markus,

Two issues:

First: the XPath you have in the example uses the "@" syntax, which is
only supported for XML attributes, but not for bean properties. Try
this instead: "/property1[prop1='ONE']"

Second: in the test case you seem to be building two maps, but adding
the same one (second) to the vector twice.

I hope this helps,

Regards,

- Dmitri

--- bugzilla@apache.org wrote:
> 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=11817>.
> 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=11817
> 
> org.apache.commons.jxpath.JXPathException: No value for xpath:
> /property1[@prop1='ONE']
> 
> 
> 
> 
> 
> ------- Additional Comments From mm@teraspect.de  2002-08-19 14:50
> -------
> Created an attachment (id=2757)
> Testcase
> 
> --
> To unsubscribe, e-mail:  
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

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


Mime
View raw message