commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Plotnikov <dplot...@yahoo.com>
Subject Re: [JXPath] Re: JXPath and JAXB [infinite loop in // iterators]
Date Thu, 21 Aug 2003 14:32:04 GMT
Richard,

Thank you very much for the offer.  I've been completely swamped
lately.
Please send me that source code. I'll try to find a couple of hours
this weekend to look into this problem.

Thanks again,

- Dmitri

--- richard_barnett@mlc.com.au wrote:
> 
> 
> 
> 
> On 2003-06-18 Dmitri Plotnikov <dplotnik () yahoo ! com> wrote:
> 
> > --- Steve Pannier <Steve_Pannier.CST () jacada ! com> wrote:
> >
> > > I don't know if this will help, but I experienced a similar
> problem
> > > (OutOfMemoryError) a few months back.  I wasn't using JXPath
> > > with JAXB-generated classes, but I was using the "//" pattern.
> > > See the thread titled "[JXPath] Infinite loop in
> iterator.hasNext()"
> > > in the Commons User mailing list archives.  The problem was
> > > due to the way JXPath uses introspection.  To resolve it, I ended
> > > up creating a custom BeanInfo for the class that had an
> > > introspection problem.
> >
> > The thing is that JXPath is supposed to have some protection
> against an
> > infinite loop caused by "//". So, rather than patching it for
> > particular situations, help me fully research what's wrong and fix
> or
> > re-fix it.
> >
> > Jérôme, could you give some more details, perhaps even the
> generated
> > classes and xpaths that fail - I'll try to investigate the issue
> very
> > quickly.
> 
> I've just hit what seems to be the same problem (in 1.1 & the
> 20030820 nightly build)
> & can reproduce it using a trivial JAXB object.
> 
> Dmitri, if you haven't already fixed this I can send you a zip of the
> sources & classes
> which reproduce this, and/or do a bit of debugging.
> 
> -- Richard
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Mime
View raw message