|
next
|
 Subject: Maximum recursion depth exceeded Author: Jesper Tverskov Date: 11 May 2009 02:19 AM
|
Hi
I'm testing David Carlisle's XSLT stylesheet, htmlparse.xsl, that can transform not well-formed markup (html) to well-formed not specified XHTML.
Htmlparse.xsl is published at:
http://dpcarlisle.blogspot.com/2007/04/htmlparse-updated.html
I have made an XSLT stylesheet, ht6jt.xsl, that imports David's htmlparse.xsl from his website, and also loads two test documents I have made at Google Docs, and transform them to make them well-formed.
The transformation works at the command line using Saxon, but not in XMLSpy using AltovaXML or in Oxygen using Saxon or in Stylus Studio using Saxon.
In XMLSpy the error message is "XSLT instruction stack overflow", in Oxygen the error message is "Too many nested function calls", and in Stylus Studio: "Maximum recusion depth exceeded".
Now, I don't like the idea that XSLT works at the command line but not in advanced XML Editors! Considering that transforming HTML codesoup to XHTML is an important use case, it would be very nice if the XML Editors could solve this problem.
I'm looking forward to a solution from Stylus Studio.
Best regards,
Jesper Tverskov
http://www.xmlplease.com
ht6jt.xsl xslt
|
|
|