XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Florent GeorgesSubject: XSLT stack trace in case of error
Author: Florent Georges
Date: 11 Nov 2007 05:11 PM
Hi

I'm using Stylus Studio 2007, Enterprise release 2 (build 894k). I didn't find a way to get a dump of the XSLT stack trace in case of error evaluating an XSLT stylesheet.

By XSLT stack trace, I mean something like Saxon SA outputs in case of error, for instance:

Error on line 51 of style.xsl:
ERR007: Error message
In evaluation of variable gg:gg9814147 at line 52 of style.xsl
In template at line 45 in style.xsl
Applied from line 40 of style.xsl
In function fg:f called from line 27 in style.xsl
In template at line 25 in style.xsl
Applied from line 40 of style.xsl
In function fg:f called from line 21 in style.xsl
In template nana at line 18 in style.xsl
Applied from line 40 of style.xsl
In function fg:f called from line 21 in style.xsl
In template nana called from line 12 of style.xsl
In template at line 6 in style.xsl
Called from external application

Is there a way to ask Stylus to output such info?

Thank you in advance for any clue. Regards,

--drkm

Postnext
(Deleted User) Subject: XSLT stack trace in case of error
Author: (Deleted User)
Date: 14 Nov 2007 02:50 AM
Hi,
the stack trace is displayed only while debugging, it is not added to the error message; we'll consider your request for a future version of Stylus.

Thanks,
Alberto

Posttop
Florent GeorgesSubject: XSLT stack trace in case of error
Author: Florent Georges
Date: 14 Nov 2007 08:05 AM
Alberto,

Thank you for your response. This is exactly what I was looking for.

Best regards,

--drkm

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.