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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1123)
- Stylus Studio Technical Forum (13809)
-> + help converting a text file to... (5)
-> + Java Functions (5)
-> + XML Schema - extend then restr... (6)
-> + Converting SGML to XML in pipe... (2)
-> + Unattended install? (2)
-> + what are the differences betwe... (2)
-> + cannot install (2)
-> + Missing Parameters within Web ... (3)
-> + XSLT processors not creating o... (8)
-> - How to format a seperate colum... (1)
-> + Finnish language characters (3)
-> + x12 schemas (10)
-> + Howto search multiple XML file... (3)
-> + Chameleon Schema? (2)
-> + Problems generating pdf (9)
-> + Cannot install Stylus Studio R... (19)
-> + source xml of a report (3)
-> + File I/O Error when encounter ... (3)
-> + substitution groups in xslt ma... (4)
-> + Delete rows in a MS SQL Server... (7)
-> - Attaching DB2 Database in File... (1)
-> + Can't debug xsl examples with ... (14)
-> + Best way to transform existing... (2)
-> + Exception in generated java co... (3)
-> + Java API for converting EDI X1... (2)
-> + XPath Query Editor slow perfor... (7)
-> + mapper schema problem (5)
-> + cursor issue in stylus studio ... (2)
-> + how to generate xslt code for ... (4)
-> + Web Service (12)
-> + Additional rule (2)
-> + Help needed: XMLSchema and unp... (9)
-> + Module settings for external X... (3)
-> + Finding Errors in the XML File (6)
-> + CSV 2 XML (2)
-> + Automatic Namespace when using... (2)
-> + Can't find 'Associate XML Sche... (3)
-> + Calling Stylus Studio API from... (2)
-> + EDI TO XML using the Stylus St... (4)
-> + MarkLogic Integration (4)
-> + (null)0:0 (3)
-> + Recent Windows Patch for MSXML... (3)
-> + Show XML from Schema (2)
-> + xml publisher - report to xslt... (4)
-> + EDI TO XML using the Stylus St... (3)
-> + Unable to Generate XML file fr... (6)
-> + DB to XML in Enterprise Suite (2)
-> + pdf to xml (2)
-> - Open External Schema - button ... (1)
-> - Unable to Generate XML from xC... (1)
-> + Unable to Generate XML from xC... (2)
-> + pre-proc processing in xml (2)
-> + FATAL ERROR: Expected comment ... (2)
-> + How to split window (3)
-> + XML Transformation Architectur... (2)
-> + only one record get run in an ... (2)
-> + xbrl schema file (2)
-> + Compare of 2 xml files (2)
-> + config control (4)
-> + create copy link in mapper (5)
-> + SGML DTD (3)
-> + command line access to your xs... (4)
-> + XML Schema: Attribute Choice (2)
-> + Upload file w/ topic (6)
-> - Can't View Properties (1)
-> + Can't View Properties (5)
-> - More flexible generated Java c... (1)
-> + Generic Schemas for representi... (2)
-> + Stylus Studio Professional rep... (2)
-> + XML XML Help (2)
-> + xsd help (2)
-> + XML data element friendly name... (2)
-> + HTML Tidy adapter is missing? (3)
-> + New Guy Here... (2)
-> + How to combine two similar fil... (2)
-> + Berkeley XML DB (4)
-> + What is the context node in th... (3)
-> + Multi element List (4)
-> + Cannot preview XSL transformat... (9)
-> + Why is this variable not showi... (7)
-> + Customising Schema Prefix (3)
-> + Please help!! XML AND XSL Tra... (6)
-> + XML to Excel in Home Edition (2)
-> + how to copy elements from an x... (2)
-> + Setting Saxon parameters in pi... (2)
-> + Trying to move SS license (3)
-> + Does SS PRO Support CSS (2)
-> + Selected values are not showin... (3)
-> + Copy Xpath To Clipboard Option... (2)
-> + Upgrading to SS 2006 3 - Activ... (3)
-> + XSL Efficiency tips (4)
-> - Report page Size and table hea... (1)
-> + Endless loop with xquery (8)
-> - Xpress XML (1)
-> + Extracting XML data into SQL s... (2)
-> + Crashes when I save (2)
-> + XSL cannot save: I/O error...b... (8)
-> + Diagram view has disappeared f... (5)
-> + Convert from http://www.w3.org... (2)
-> + Round-trip Converting; CSV-XML... (2)
-- Previous [1201-1220] [1221-1240] [1241-1260] Next
+ Website Feedback (243)
+ XSLT Help and Discussion (7447)
+ XQuery Help and Discussion (1861)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (361)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Brian RunckSubject: can't use debugger on scenario
Author: Brian Runck
Date: 13 Aug 2002 04:10 PM
I'm a new user...I have 4.0 91c. I can't seem to get a scenario using an XSLT stylesheet to work under the debugger. Using the preview feature, it comes out just fine. When I step through using the debugger, none of the variables/params seem to have any value.
The particular xformation doesn't matter, the example I'll give is parsing an XML file and outputting it to XML (sort of an intermediate format). The output in the preview window is something like:

















and it actually stops with an error that Java cannot convert #STRING to a nodelist.
When it works, several of these key/value pairs are created.
When using the preview outside of the debugger, here is an example of this section's output (adding some line breaks for readability):


ABSTRACT

YES
ab


The above is a correct example.

It's almost as if the debugger has no context when it's operating and therefore no real values get output.
I also can't get the Watch window to do anything...I can't type anything in there and when I do try to paste variable names in it, they never have any value anyway when they should.

What's going on here?

Postnext
Minollo I.Subject: Re: can't use debugger on scenario
Author: Minollo I.
Date: 13 Aug 2002 04:23 PM
What you are describing doesn't match any known issue. Can you tell us what
processor are you using? (the one set in the processor tab of the scenario
properties) Also, you haven't mentioned if the processor is correctly
stopping at breakpoints that you set in the XSLT source or not, and if you
can do step-by-step processing of the stylesheet.

BTW, are you setting values for global parameters? Are they set the same
way in the scenario you use for debugging?

If you could send us a complete testcase (XSLT+XML) we could probably
quickly understand what's going on.

Thanks,
Minollo

Postnext
Brian RunckSubject: Re: can't use debugger on scenario
Author: Brian Runck
Date: 13 Aug 2002 04:33 PM
Hi,

OK I will attach files here and hopefully that will help!
It is using the Xalan-J processor as selected in the scenario properties.
I don't believe I am setting any global parameters; the scenario doesn't have anything under the "parameter values" tab. There are some variables declared at the beginning that seem to be visible in each template, not sure if that's helpful.


ApplicationEmed.xml
XML file

UnknownINIXMLGeneration.xsl
XSLT template

Postnext
Minollo I.Subject: Re: can't use debugger on scenario
Author: Minollo I.
Date: 13 Aug 2002 06:30 PM
We do see problems using the XalanJ processor against your testcase. We are
working on them. In the meanwhile you may want to try the internal
processor, which doesn't seem to be affected by the same kind of issues.

Thanks,
Minollo

Posttop
Brian RunckSubject: Re: can't use debugger on scenario
Author: Brian Runck
Date: 14 Aug 2002 11:48 AM
The built-in processor seems to give no problems and I will be able to use that for now, then use the Xalan-J once you guys have fixed it!
Thanks!

   
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-2011 All Rights Reserved.