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
Douglas CourtneySubject: StylusStudio XSLT Debugging
Author: Douglas Courtney
Date: 03 Nov 2006 10:56 AM
I have a ? alert box pup up when I am debugging my XSLT file. The alert says:

A parameter or variable with the same name already exsists in the current scope. Then the file and location is given.

I was just trying to understand this alert a little better and how StylusStudio and the parsers are performing.

This occurs when I select the the start debuging . Is the alert actually coming from a XSLT validation process before it begins to parse the file or is that as a result of an actual run that the the current scope is having multiple variables being created in the current scope.

I was trying to insert a back point right before so I could see the call stack and were the error occurs. However, it never makes it to the break point. This leads me to believe that it is validating the XSLT before it is actually starting the parser. IS this correct. If so is there an menu option for validating the xslt before running the debugger? Do I need to try different parsers if ther is not a pre validation tool that is based on a standard like the W3?

Thanks,

Doug

Posttop
Ivan PedruzziSubject: StylusStudio XSLT Debugging
Author: Ivan Pedruzzi
Date: 03 Nov 2006 03:21 PM
Hi Douglas,

The error is coming from the XSLT processor. It sounds like a static error, you have two variable with the same name.

Does Stylus Studio offer to jump to the errro location?

Could you post you XSLT code?


Ivan Pedruzzi
Stylus Studio Team

 
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.