[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Recursion problem with Firefox

Subject: Re: Recursion problem with Firefox
From: Manfred Staudinger <manfred.staudinger@xxxxxxxxx>
Date: Thu, 3 Nov 2005 06:52:10 -0800
firefox recursive download
> I doubt it has anything to do with file _size_ but rather with recursion
depth.
It's not exactly the file size, but the line length. If I have a 64 lines
each
80 bytes long, the recursion stops at line 48, but with 32 lines each 160
bytes long, it stops with line 24. So the limit seems to be on the
length of the
variable $list2 which holds the accumulated lines for the sub-list.

I've already tried to split up the <ul> lists manually, but this is no
general
solution. It would be much better to do this automatically in the
stylesheet ...

Regards, Manfred

On 03/11/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
>
>   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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.