It's a bug in esql:results/esql:row-results template.

If you want to reproduce the bug, all you need is an esql:group that
is a child of a subquery.

------------esql.xsl line 672
 <xsl:template match="esql:results//esql:row-results">
?  <xsl:variable name="group" select=".//esql:group"/> <--- here's the problem
   <xsp:logic>
 
     //create booleans for group change watches and strings for old values.
------------

I thought i knew xslt-- but what i need to say is:
descendents named "esql:group" who are closer to me than 
another "esql:execute-query".

or put another way select any <esql:group> that doesn't have 
an <esql:execute-query> between me and it.

I'll think about it.  I'm not on any of the mulberry xslt lists.
If someone can figure out how to represent it, it will fix the bug.

Tim

On Mon, Mar 11, 2002 at 10:52:21AM -0500, Tim Myers wrote:
> Chris Haul,
> 
> it can't be a connection pool problem-- the whole idea of 
> esql:group/esql:member is to do everything with one query.
> 
> The endless loop is almost certainly happening while xalan is
> transforming the code (recursive application of one of the 
> templates).  The problem with not keeping the .xsd
> up-to-date is it makes debugging/communicating usage syntax pretty
> hard.  I'll see what i can do to improve the xsd sometime soon.
> 
> Christian Joelly,
> can you post an example?
> 
> If you post your code, i'll transform it manually and see where 
> the recursion is happening.  If you want to do that with xalan
> and use -T you can watch the templates get applied.
> 
> Of course, i'm assuming that the _xsp.java is never being generated
> by your .xsp page.  I might not understand the problem correctly though.
> 
> good luck.
> Tim 
> 
> 
> 
> On Fri, Mar 08, 2002 at 10:19:28AM +0100, Christian Haul wrote:
> > On 07.Mar.2002 -- 09:08 AM, Christian Joelly wrote:
> > > Hi!
> > > 
> > > i have a *strange* problem with esql:group/esql:member:
> > > 
> > > when i add esql:group/esql:member to my xsp page then the loop fetching
> > > the results from the resultset changes to an endless loop, till i get an
> > > java.lang.OutOfMemoryError.
> > 
> > Have started to look at the code. Just one thought: Do you have enough
> > connections in your pool to do such deep nesting?
> > 
> >     Chris.
> > 
> > -- 
> > C h r i s t i a n       H a u l
> > [EMAIL PROTECTED]
> >     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> > 
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to