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 (13808)
-> - Bug: Adding a scenario to an X... (1)
-> - Bug: Bug reporting outputs an ... (1)
-> - Tradacoms Invoice 9 Batch Quer... (1)
-> - problem with the product regis... (1)
-> + Help: Documentation... ends in... (2)
-> + How to install LIBxml2 (2)
-> - line numbers in validator outp... (1)
-> + Sharing Viollation in Stylus v... (5)
-> - support for asp.net in stylus... (1)
-> + how to use the latest java xml... (2)
-> - how to show xsd element relate... (1)
-> - Testing Stylus in a secure env... (1)
-> + How do you remove linemarkings... (3)
-> - Bug: Comment / Uncomment via C... (1)
-> + Setting escape (release) chara... (2)
-> + Xalan processor not showing up (2)
-> + Is there a keyboard shortcut t... (3)
-> - Modifying reports outside of S... (1)
-> + Run ALL Scenarios? (2)
-> + predefined macros ${ (4)
-> - TRADACOMS - EDI (1)
-> + SUM not working (3)
-> - Large xml file handling gives ... (1)
-> + 2011 Enterprise code folding f... (9)
-> + custom xml converter (3)
-> - Start Excel feter the mapping ... (1)
-> + Uninstall (2)
-> + xpath to compare two values fr... (2)
-> - xpath to compare two values fr... (1)
-> + SS2011 cannot save XML files u... (3)
-> + SS 2011 Enterprise saying 2010... (2)
-> + How to change the way whitespa... (7)
-> + Updating Relational Data Using... (4)
-> - Contract Stylus Studio help. ... (1)
-> + UTF_8 characters not displayed (6)
-> + Problem XSL to PDF ( dont reco... (2)
-> + HIPAA EDI - Looping question (4)
-> - HIPAA EDI - Looping question (1)
-> + Does XML Report support column... (2)
-> + Limited choice of XSL elements... (2)
-> + Single Source Publishing? (3)
-> - Stylus Stodio License (1)
-> - Stylus Stodio License (1)
-> + relax ng (3)
-> + having problem converting csv ... (8)
-> + error when selecting items fro... (2)
-> + CSV File to XML (3)
-> + Software registration - How to... (4)
-> - Software registration - How to... (1)
-> + .Net Saxon not supported by th... (2)
-> + How do I extend the Evaluation... (2)
-> + dst file (4)
-> + Flat File Custom XML conversio... (4)
-> + converting ascii file to xml f... (2)
-> + Evaluation Copy of Stylus Stud... (8)
-> + Batch process for soap (4)
-> + Strange error when running gen... (5)
-> + Merge Files (2)
-> + Convert cvs to XML (2)
-> + Stylus studio 2010 crashes in ... (5)
-> + excel to text (2)
-> + licence key? (2)
-> + JVM Heap error (4)
-> + How Do I clean TXT File? (2)
-> + SS Web Service Call Tester Pay... (3)
-> - SS Web Service Call Tester Mic... (1)
-> + Error in Stylus Studio - canno... (2)
-> + Saxon Assign (2)
-> - License Authentication Failed (1)
-> + Stylus Studio 2007 Download (2)
-> + EDI to XML validation (2)
-> + Reports: can't remove "undead"... (3)
-> + Document Wizard Incomplete (6)
-> + Opening xml converter (4)
-> + Node depth limit with MySQL? (5)
-> + Basics (2)
-> - Node depth limit with MySQL? (1)
-> + Creating an XML Schema from a ... (4)
-> - Issue with XSD (1)
-> + XSL-FO and Apache FOP (2)
-> + How Come Stylus Studio Fails T... (6)
-> + no suitable driver (8)
-> + 211,19: no declaration found f... (6)
-> - Validate HEX (1)
-> + Crashing when connected to dat... (3)
-> - Interface with quickbooks (1)
-> - CDATA control (1)
-> + [resolved] Namespace (and pref... (5)
-> - Hiding and Revealing Child Nod... (1)
-> + Cannot see values in Watch whe... (4)
-> - Help with CSV to XML and Regio... (1)
-> + How do I verify "opt=yes" URI ... (4)
-> - Stylus Studio claims xsd is in... (1)
-> + Can a generated XSD be used in... (4)
-> + I am not a developer I'm just ... (2)
-> + Stylus crash when deleting dat... (6)
-> - Preserving Structure (1)
-> - Preserving Structure (1)
-> - HL7 ORU group tags (1)
-> + Fixed Length Record Layout to ... (2)
-- Previous [181-200] [201-220] [221-240] 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
David KarrSubject: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: David Karr
Date: 04 Nov 2005 01:30 PM
I'm debugging a sample stylesheet that tests several functions in the
EXSLT "datetime" namespace. I have my processor set to Xalan 2.5.2,
which supports most or all of these functions natively. However, when I
step through this in the debugger, on almost every line Stylus Studio
asks me to specify the path to the ExsltDatetime.java source file. I
hit cancel every time so it can get to the next line.

Postnext
Ivan PedruzziSubject: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: Ivan Pedruzzi
Date: 04 Nov 2005 02:33 PM
HI David,

Stylus Studio should prompt you only when trying to step-in (F11) into a java function call, step-over (F10) should not.

Could you post a sample that uses exslt date-time function?


Thank You
Ivan Pedruzzi
Stylus Studio Team

Postnext
David KarrSubject: RE: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: David Karr
Date: 04 Nov 2005 04:27 PM
But that's the thing, I'm not TRYING to step into a Java function call.
I'm using functions implemented natively in Xalan. I'm guessing SS
doesn't distinguish between those two cases. I'll attach my stylesheet.

> -----Original Message-----
> From: Ivan Pedruzzi
>
> HI David,
>
> Stylus Studio should prompt you only when trying to step-in
> (F11) into a java function call, step-over (F10) should not.
>
> Could you post a sample that uses exslt date-time function?


Unknownxalandatetimetests.xsl

Postnext
Ivan PedruzziSubject: RE: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: Ivan Pedruzzi
Date: 04 Nov 2005 05:35 PM
David I can't replicate the behavior you have described; Stylus Studio prompt me only when I try to step-in into XSLT instructions that include a java fucntion call, step-over works fine.

Ivan Pedruzzi
Stylus Studio Team

Postnext
David KarrSubject: RE: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: David Karr
Date: 04 Nov 2005 06:24 PM
I don't know what to say. In the attached stylesheet, I set a bp at
"". I hit F11 once and it stepped to the next
line (the "xsl:variable"). I hit F11 again, and it brought up the
dialog asking for the location of ExsltDatetime.java. It did this when
I hit F11 on every line that referenced the "date" namespace. I'm using
the XalanJ2.5.2 processor.

> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:stylus-studio-tech.listmanager@stylusstudio.com]
> Sent: Friday, November 04, 2005 2:37 PM
> Subject: RE: Why does SS ask for a Java source file when I'm
> using native Xalan functions?
>
>
> From: Ivan Pedruzzi
>
> David I can't replicate the behavior you have described;
> Stylus Studio prompt me only when I try to step-in into XSLT
> instructions that include a java fucntion call, step-over works fine.
>
> Ivan Pedruzzi
> Stylus Studio Team
>
>
> --
> To reply: mailto:stylus-studio-tech.12469@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>

Postnext
Ivan PedruzziSubject: RE: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: Ivan Pedruzzi
Date: 04 Nov 2005 08:14 PM
F11 = step into
F10 = step over

Use F10 to step-over to the next XSLT instrunction.

As I explained in my original message if you use F11 you are asking Stylus Studio to step-in inside the extension function.

Hope is clear now.
Ivan

Postnext
David KarrSubject: RE: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: David Karr
Date: 04 Nov 2005 09:30 PM
I know all that. The point is that I was not stepping into a Java
extension function. The function is implemented natively in Xalan, not
in a Java extension function.

Also, the concept of "step over" and "step into" is confusing when
you're sitting on an XML start element tag that has children. I thought
there were some situations where if I did "step over", it would "step
over" the child elements, not stepping through them.

> -----Original Message-----
> From: Ivan Pedruzzi
>
> F11 = step into
> F10 = step over
>
> Use F10 to step-over to the next XSLT instrunction.
>
> As I explained in my original message if you use F11 you are
> asking Stylus Studio to step-in inside the extension function.
>
> Hope is clear now.
> Ivan
>
>
> --
> To reply: mailto:stylus-studio-tech.12471@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>

Posttop
Ivan PedruzziSubject: RE: Why does SS ask for a Java source file when I'm using native Xalan functions?
Author: Ivan Pedruzzi
Date: 04 Nov 2005 10:14 PM
>I know all that. The point is that I was not stepping into a
>Java extension function. The function is implemented
>natively in Xalan, not in a Java extension function.

What you call "native function" is just one of the built-in extension functions that XalanJ bundles that of course are implemented in java.

>Also, the concept of "step over" and "step into" i confusing when
>you're sitting on an XML start element tag that has children.

The behaviour should not surprise you. When you are programming in java for instance and you have a code like the following do you expect to jump from foo1 to foo2 using step-over?

foo1();
bar();
bar();
foo2();

The indentation doesn't affect the stack, the execution context is always the same.

step-in means transfer the control from one routine to another.
The XSLT instructions that transfer control are call-template, apply-templates, function calls inside XPath expressions.

Nevertheless the ability to step is strictly related to the debugger capabilities of each processor. For instance some processor perform optimizations like in-lining, some don't report all literal values.

Ivan

   
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.