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 2002/06/17 09:47:10 UTC
DO NOT REPLY [Bug 9912] New: -
Exception using asPath()
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=9912>.
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=9912
Exception using asPath()
Summary: Exception using asPath()
Product: Commons
Version: 1.0 Beta 1
Platform: All
OS/Version: All
Status: NEW
Severity: Blocker
Priority: Other
Component: JXPath
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: mm@teraspect.de
I probably noticed a bug, when I use dynamic beans and iteratePointers() and
then the asPath() method on each pointer.
Assuming the toplevel (dynamic) bean has 3 attributes att1, att1, att3 and att3
is a nested bean whit attribute called 'nested'.
The following works:
context.getValue("/att3/nested");
Whereas this throws an exception:
Iterator it = context.iteratePointers("/att3");
Pointer ptr = it.next();
context.getValue(ptr.asPath()+"/nested");
I provided a testcase.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: DO NOT REPLY [Bug 9912] New: - Exception using asPath()
Posted by Dmitri Plotnikov <dp...@yahoo.com>.
Markus,
Two things:
1. Your report is linked to Beta 1. Is that setting correct? If it is,
could possibly try with the release candidate?
2. Could you e-mail that test case to me? I cannot download it from
Bugzilla.
Thanks,
- 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=9912>.
> 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=9912
>
> Exception using asPath()
>
> Summary: Exception using asPath()
> Product: Commons
> Version: 1.0 Beta 1
> Platform: All
> OS/Version: All
> Status: NEW
> Severity: Blocker
> Priority: Other
> Component: JXPath
> AssignedTo: commons-dev@jakarta.apache.org
> ReportedBy: mm@teraspect.de
>
>
> I probably noticed a bug, when I use dynamic beans and
> iteratePointers() and
> then the asPath() method on each pointer.
>
> Assuming the toplevel (dynamic) bean has 3 attributes att1, att1,
> att3 and att3
> is a nested bean whit attribute called 'nested'.
>
> The following works:
>
> context.getValue("/att3/nested");
>
> Whereas this throws an exception:
>
> Iterator it = context.iteratePointers("/att3");
> Pointer ptr = it.next();
> context.getValue(ptr.asPath()+"/nested");
>
> I provided a testcase.
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>