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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext 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!

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.