|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Parser implemented in XSL -- stack overflow
Michael- You say: > xsl:apply-templates is a call, just like call-template, and it requires a new stack frame. So, the "problem" in my XSL is not that the style makes pushes necessary that "normally" woudln't be; rather it's that the processing of siblings in order causes there to be no pops until the end of the document -- thus the overflow. For my purposes this means I'll have to find an alternative approach to implementing the generated DFST -- which isn't a huge problem in this case. In the meantime I encourage you (and other XSL compiler designers) to consider implementing proper tail recursion in your compilers. I believe it is fairly straightforward, being a syntactic issue rather than one of determining the semantics of a particular call. (At least it's straightforward if you're doing recursive descent.) Thanks for helping me understand the problem. Regards, Bill XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








