Re: [xsl] Recursion problem with Firefox

Subject: Re: [xsl] Recursion problem with Firefox
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 3 Nov 2005 13:25:00 GMT
  Can someone confirm the problem I described
  http://www.biglist.com/lists/xsl-list/archives/200511/msg00059.html
  to be reproducible? Or is it just me?

It is reproducible, although oddly the version of your stylesheet as
appears in the archives is not well formed:

*  every declaration of the xhtml namespace  is followed by a spurious ";"
   (incidentally you don't need most of those declarations)

*  the text 
   This is my input file (abbreviated):
   appears _before_ /xsl:stylesheet not after it.

Neither of these problems appears to be in your original mail, so the
list archives mail-to-html filter seems to have been confused. 


You say

> But what can be limited to less than 5k ?

It's a processor bug (if it hits some memory limit it ought to fail
rather than just give the wrong answer) so you'd need to report it to
their bugzilla system. I doubt it has anything to do with file _size_
but rather with recursion depth. Your template is a non-tail recursive
template and presumably you hit some stack overflow around 60 level of
recursion (which seems rather low, but in practice most systems will
have _some_ finite  limit on recursion stack).

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread