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 (1192)
- Stylus Studio Technical Forum (14621)
-> + Report reverts back to XHTML-C... (2)
-> + Certificate error (7)
-> + Opening DITA files and associa... (4)
-> + Cannot see links from source d... (10)
-> + SS 2007 vs. SS 2008 calling a ... (3)
-> + Unable to compile java file (8)
-> + Unable to use xsi:type attribu... (2)
-> + Unable to save xslt file after... (5)
-> + .NET XslTransform Compiled out... (3)
-> + Reporting Comparison (2)
-> + problems setting up the fonts ... (3)
-> + XML conversion (5)
-> + XQUERY: Application Crash (3)
-> + Base type definition does not ... (5)
-> + Tip says Generate C# Code actu... (2)
-> + install help (4)
-> + saxon-license (3)
-> + Mapping 1 xml file layout to a... (2)
-> + Problem - Schema Representatio... (3)
-> + selecting the correct Line Ter... (2)
-> + Stylus Studio crashing (14)
-> + EXSLT extensions in Stylusstud... (4)
-> + "Indent XML Tags" introduces u... (8)
-> + unable to use Stylus Studio of... (4)
-> + Replace in selection not worki... (4)
-> + Activation Key (3)
-> + Berkeley support removed! ? (2)
-> + Report editor slows to a virtu... (2)
-> + StylusStudio will not stop pro... (2)
-> + Indent tags resolves NCRs in a... (4)
-> + XML Report Table Problem (2)
-> + document() function throws unk... (7)
-> + Report indentation (2)
-> + Report editor automatic scroll... (2)
-> + java.lang.ClassNotFoundExcepti... (4)
-> + Strange output (6)
-> + Built-In Processor Handling CD... (5)
-> + Parameter values with multiple... (3)
-> + Schema review (2)
-> + seperating values within one e... (2)
-> + Filtering 1000's of XML files ... (2)
-> + replace fop0.20 by 094 (2)
-> + HTML tables from sorted XSL (3)
-> + From dicisionshema to XML (4)
-> + Convert data from SQL database... (2)
-> + Really Really need help - xsl:... (2)
-> + xslt: xsl:include not finding ... (2)
-> + One field in multiple lines (3)
-> + Stylis studio editor slow (2)
-> + Schema Documentation (3)
-> + Convert PCL to XML (7)
-> + crashing when connected via VP... (3)
-> + Repeater err:XPST0003 (3)
-> + rtf to XML (4)
-> + Questions Regarding Existing B... (3)
-> + Bug: Saved Changes Lost Switch... (3)
-> + Adding Simple Types to Attribu... (4)
-> + SQL Table to XML Convert error... (9)
-> + please help me with style shee... (2)
-> + WSDL Misbehaving (4)
-> + Regarding XSLT logic for a sim... (2)
-> + Regarding XSLT logic for a sim... (2)
-> + Integration with VB.Net (5)
-> + License for end user (5)
-> + Error when running xalan sampl... (3)
-> + generate the date time in xslt... (2)
-> + Error When Using XMLConverters... (5)
-> + Viewing the toolbox pane (3)
-> + In Sync (2)
-> + Java EE 5 SDK vs. Java 2 SDK S... (2)
-> - Odd behavior of Begin Field in... (1)
-> + I/O-error while saving style s... (2)
-> + WEB Service Session (2)
-> - XML Report - Horizontal Line (1)
-> + XML feed to a txt file (2)
-> + problem with xml output (2)
-> + XSL Debugging (2)
-> + XML schema validation issue (t... (2)
-> + Problem during saving styleshe... (4)
-> + Slow Redraw (11)
-> + Source XML code updates in map... (2)
-> + converting XML to Excel (2)
-> + Pre-Sales Questions? And Mergi... (2)
-> + How can I download an earlier ... (2)
-> + Create multiple string outputs... (2)
-> + Alternate page masters indepen... (3)
-> + Flat to XML and back with Styl... (2)
-> + BUG: Byte Order Mark inserted ... (2)
-> + Schema Validation using the to... (7)
-> + Flat Text file to XML or XSD (6)
-> + Second time it should not go i... (2)
-> + How to sum Nodes which are at ... (2)
-> + Where has the wysiwyg editor g... (2)
-> + SS says my trial has expired -... (2)
-> + XSD input; SQL Table Output Ne... (2)
-> + Building Schema from XML (2)
-> + conditions on tag values expre... (3)
-> + XML converter "omit fields whe... (3)
-> + Marklogic XQuery support in St... (2)
-> + XSL switching stylesheet from ... (10)
-- Previous [1321-1340] [1341-1360] [1361-1380] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 10 Sep 2007 03:30 PM
Debuging is disabled if processor is set to Saxon 8.9.0.3. If I change processor to built-in then debugging is enabled.

Any idea how to get debugging working with Saxon?

Postnext
Tony LavinioSubject: Can't debug xsl examples with Saxon only with built-in
Author: Tony Lavinio
Date: 10 Sep 2007 03:43 PM
What do you mean by debugging is disabled?
Debugging is certainly supported for Saxon 8.9.

However, because Saxon optimizes certain steps
away, you might be setting a breakpoint on a line
that isn't an executable line, in which case
Saxon never actually steps through that line.

Can you give an specific example of where it isn't
doing what you expect?

Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 10 Sep 2007 04:50 PM
If I open examples.prj then open SVG/chart.xsl, set several breakpoints and set the processor to built-in. Hit f5 and it will stop at my breakpoint. Then I change the processor to Saxon 8.9.0.3 hit f5 and it will process the page but will not stop at the any of the breakpoints.

I tried setting a breakpoint on every line in chart.xsl and still the Saxon processor it will not stop at any breakpoint.

It's acting as if debugging is disabled when I set the processor to Saxon.

>What do you mean by debugging
>is disabled?
>Debugging is certainly
>supported for Saxon 8.9.
>
>However, because Saxon
>optimizes certain steps
>away, you might be setting a
>breakpoint on a line
>that isn't an executable line,
>in which case
>Saxon never actually steps
>through that line.
>
>Can you give an specific
>example of where it isn't
>doing what you expect?

Postnext
Tony LavinioSubject: Can't debug xsl examples with Saxon only with built-in
Author: Tony Lavinio
Date: 10 Sep 2007 05:32 PM
If you do Help->About, what release are you running?

894m is the current release, and several Saxon-related
issues were fixed there. If you haven't updated, try
that first. Then if there is still a problem we'll see
if it is something in your environment.

Also, which version of Java are you running? That is
also shown on the Help->About window.

Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 10 Sep 2007 08:16 PM
Thanks for your quick reply.

Update tells me that I'm running the latest version.

Here's the version from the help/about:
Framework version: Build 894m
Java Virtual Machine: 1.6.0_02-b06 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8000






>If you do Help->About, what
>release are you running?
>
>894m is the current release,
>and several Saxon-related
>issues were fixed there. If
>you haven't updated, try
>that first. Then if there is
>still a problem we'll see
>if it is something in your
>environment.
>
>Also, which version of Java
>are you running? That is
>also shown on the
>Help->About window.

Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 11 Sep 2007 01:52 PM
Another thing that might be relevent is that I had previosly installed Stylus Studio home edition but uninstalled it and then installed the Enterprise version.

Could the home versiom have left some lingering reg key's that cause the Saxon debugger to not function?

>If you do Help->About, what
>release are you running?
>
>894m is the current release,
>and several Saxon-related
>issues were fixed there. If
>you haven't updated, try
>that first. Then if there is
>still a problem we'll see
>if it is something in your
>environment.
>
>Also, which version of Java
>are you running? That is
>also shown on the
>Help->About window.

Postnext
(Deleted User) Subject: Can't debug xsl examples with Saxon only with built-in
Author: (Deleted User)
Date: 12 Sep 2007 04:09 AM
Hi Brian,
by chance, is your XSL placed in a directory with a name longer than 8.3 characters?

Alberto

Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 12 Sep 2007 12:00 PM
Hi Alberto,
It was in a folder with a name longer then 8.3 and I was having all sorts of trouble with xsl:import saying it can't find the document. So I moved everything to C:\Xsldev\. When I dblclick on a file from the project menu it will often popup a message box saying can't find the file. But when clicking ok the file does open.




>Hi Brian,
>by chance, is your XSL placed
>in a directory with a name
>longer than 8.3 characters?
>
>Alberto

Postnext
(Deleted User) Subject: Can't debug xsl examples with Saxon only with built-in
Author: (Deleted User)
Date: 12 Sep 2007 02:27 PM
Hi Brian,
as you are using xsl:import, have moved ALL the needed files (XSL, imported XSL, XML) into the new 8.3 folder?

Alberto

Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 12 Sep 2007 02:36 PM
Hi Alberto,
Yes all needed files are now in C:\Xsldev. I discovered that the missing file's were caused by the "Source XML URL" in the included file being still set to the old path. That's fixed now.

The orignal issue still exists in that I can't debug when Saxon is the processor.


>Hi Brian,
>as you are using xsl:import,
>have moved ALL the needed
>files (XSL, imported XSL, XML)
>into the new 8.3 folder?
>
>Alberto

Postnext
(Deleted User) Subject: Can't debug xsl examples with Saxon only with built-in
Author: (Deleted User)
Date: 13 Sep 2007 03:38 AM
Hi Brian,
can you try setting the registry key "XSLT Editor: PrintDebugMessages" to 1 in the "HKEY_CURRENT_USER\Software\Stylus Studio\2007 XML Enterprise Suite Release 2\Plugin Settings" branch and tell us what is printed in the output window?

Thanks,
Alberto

Postnext
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 13 Sep 2007 12:34 PM
Hi Alberto,
Here is the output from chart.xsl in the examples with several break points set it processes but doesn't stop at any break points:

^^^ [6] null match="sales"
Checking BP on line 6
^^^ [10] svg
Checking BP on line 10
^^^ [10] name="width"
Checking BP on line 10
^^^ [10] name="height"
Checking BP on line 10
^^^ [10] name="viewBox"
Checking BP on line 10
^^^ [13] g
Checking BP on line 13
^^^ [13] name="transform"
Checking BP on line 13
^^^ [16] text
Checking BP on line 16
^^^ [16] name="style"
Checking BP on line 16
^^^ [16] name="x"
Checking BP on line 16
^^^ [16] name="y"
Checking BP on line 16
^^^ [17] null select="caption/heading"
Checking BP on line 17
Checking BP on line 17
^^^ [18] null
Checking BP on line 18
^^^ [22] g
Checking BP on line 22
^^^ [22] name="style"
Checking BP on line 22
^^^ [23] path
Checking BP on line 23
^^^ [23] name="d"
Checking BP on line 23
^^^ [27] g
Checking BP on line 27
^^^ [27] name="style"
Checking BP on line 27
^^^ [28] text
Checking BP on line 28
^^^ [28] name="x"
Checking BP on line 28
^^^ [28] name="y"
Checking BP on line 28
Checking BP on line 28
^^^ [29] text
Checking BP on line 29
^^^ [29] name="x"
Checking BP on line 29
^^^ [29] name="y"
Checking BP on line 29
Checking BP on line 29
^^^ [30] text
Checking BP on line 30
^^^ [30] name="x"
Checking BP on line 30
^^^ [30] name="y"
Checking BP on line 30
Checking BP on line 30
^^^ [31] text
Checking BP on line 31
^^^ [31] name="x"
Checking BP on line 31
^^^ [31] name="y"
Checking BP on line 31
Checking BP on line 31
^^^ [32] text
Checking BP on line 32
^^^ [32] name="x"
Checking BP on line 32
^^^ [32] name="y"
Checking BP on line 32
Checking BP on line 32
^^^ [33] text
Checking BP on line 33
^^^ [33] name="x"
Checking BP on line 33
^^^ [33] name="y"
Checking BP on line 33
Checking BP on line 33
^^^ [34] text
Checking BP on line 34
^^^ [34] name="x"
Checking BP on line 34
^^^ [34] name="y"
Checking BP on line 34
Checking BP on line 34
^^^ [35] text
Checking BP on line 35
^^^ [35] name="x"
Checking BP on line 35
^^^ [35] name="y"
Checking BP on line 35
Checking BP on line 35
^^^ [36] text
Checking BP on line 36
^^^ [36] name="x"
Checking BP on line 36
^^^ [36] name="y"
Checking BP on line 36
Checking BP on line 36
^^^ [37] text
Checking BP on line 37
^^^ [37] name="x"
Checking BP on line 37
^^^ [37] name="y"
Checking BP on line 37
Checking BP on line 37
^^^ [41] null select="region"
Checking BP on line 41
^^^ [44] position()
Checking BP on line 44
^^^ [54] position()
Checking BP on line 54
^^^ [58] sum()
Checking BP on line 58
^^^ [62] path
Checking BP on line 62
^^^ [62] name="style"
Checking BP on line 62
^^^ [46] null
Checking BP on line 46
^^^ [48] null
Checking BP on line 48
^^^ [62] name="d"
Checking BP on line 62
^^^ [65] text
Checking BP on line 65
^^^ [65] name="style"
Checking BP on line 65
^^^ [65] name="x"
Checking BP on line 65
^^^ [65] name="y"
Checking BP on line 65
^^^ [66] null select="@name"
Checking BP on line 66
Checking BP on line 66
^^^ [44] position()
Checking BP on line 44
^^^ [54] position()
Checking BP on line 54
^^^ [58] sum()
Checking BP on line 58
^^^ [62] path
Checking BP on line 62
^^^ [62] name="style"
Checking BP on line 62
^^^ [46] null
Checking BP on line 46
^^^ [49] null
Checking BP on line 49
^^^ [62] name="d"
Checking BP on line 62
^^^ [65] text
Checking BP on line 65
^^^ [65] name="style"
Checking BP on line 65
^^^ [65] name="x"
Checking BP on line 65
^^^ [65] name="y"
Checking BP on line 65
^^^ [66] null select="@name"
Checking BP on line 66
Checking BP on line 66
^^^ [44] position()
Checking BP on line 44
^^^ [54] position()
Checking BP on line 54
^^^ [58] sum()
Checking BP on line 58
^^^ [62] path
Checking BP on line 62
^^^ [62] name="style"
Checking BP on line 62
^^^ [46] null
Checking BP on line 46
^^^ [50] null
Checking BP on line 50
^^^ [62] name="d"
Checking BP on line 62
^^^ [65] text
Checking BP on line 65
^^^ [65] name="style"
Checking BP on line 65
^^^ [65] name="x"
Checking BP on line 65
^^^ [65] name="y"
Checking BP on line 65
^^^ [66] null select="@name"
Checking BP on line 66
Checking BP on line 66
^^^ [44] position()
Checking BP on line 44
^^^ [54] position()
Checking BP on line 54
^^^ [58] sum()
Checking BP on line 58
^^^ [62] path
Checking BP on line 62
^^^ [62] name="style"
Checking BP on line 62
^^^ [46] null
Checking BP on line 46
^^^ [51] null
Checking BP on line 51
^^^ [62] name="d"
Checking BP on line 62
^^^ [65] text
Checking BP on line 65
^^^ [65] name="style"
Checking BP on line 65
^^^ [65] name="x"
Checking BP on line 65
^^^ [65] name="y"
Checking BP on line 65
^^^ [66] null select="@name"
Checking BP on line 66
Checking BP on line 66
^^^ [44] position()
Checking BP on line 44
^^^ [54] position()
Checking BP on line 54
^^^ [58] sum()
Checking BP on line 58
^^^ [62] path
Checking BP on line 62
^^^ [62] name="style"
Checking BP on line 62
^^^ [46] null
Checking BP on line 46
^^^ [47] null
Checking BP on line 47
^^^ [62] name="d"
Checking BP on line 62
^^^ [65] text
Checking BP on line 65
^^^ [65] name="style"
Checking BP on line 65
^^^ [65] name="x"
Checking BP on line 65
^^^ [65] name="y"
Checking BP on line 65
^^^ [66] null select="@name"
Checking BP on line 66
Checking BP on line 66


>Hi Brian,
>can you try setting the
>registry key "XSLT Editor:
>PrintDebugMessages" to 1 in
>the
>"HKEY_CURRENT_USER\Software\St
>ylus Studio\2007 XML
>Enterprise Suite Release
>2\Plugin Settings" branch and
>tell us what is printed in the
>output window?
>
>Thanks,
>Alberto

Postnext
(Deleted User) Subject: Can't debug xsl examples with Saxon only with built-in
Author: (Deleted User)
Date: 14 Sep 2007 03:50 AM
Hi Brian,
does the processing breaks if you click on the "pause" button after starting debugging with F5?

Thanks,
Alberto

Posttop
Brian StuartSubject: Can't debug xsl examples with Saxon only with built-in
Author: Brian Stuart
Date: 14 Sep 2007 01:02 PM
Hi Alberto,
Pressing F5 will cause it to process but not hit any break points. Here's where it get strange, when I press F5 six times the pause and stop buttons remain disabled, but on the 7th press both the pause and stop will enable. This pattern repeats every 7 presses of F5.

It's difficult to tell but it seem that clicking the pause button when it does briefly become enabled has no effect.

>Hi Brian,
>does the processing breaks if
>you click on the "pause"
>button after starting
>debugging with F5?
>
>Thanks,
>Alberto

   
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.