Step through xsl file
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 3
- Joined: Mon Jun 07, 2010 3:36 pm
Step through xsl file
I am debugging an xsl transformation. I can place break points in the source xml document and the process halts at the appropriate point. However, I have added breakpoints to the xsl script and the process runs to completion. I did notice that this also occurred with the xml doc when I was using the the Saxon parser, rather than xalan.
Any ideas?
Regards
Kevin
Any ideas?
Regards
Kevin
-
- Posts: 2883
- Joined: Tue May 17, 2005 4:01 pm
Re: Step through xsl file
Hello,
As you know not all parsers are created equal and some will optimize the code up to a level where some breakpoints will be completely skipped.
e.g. If I set a breakpoint on a variable declaration:) Saxon 6.5.5 and Xalan will stop there during debugging but Saxon-HE/PE/EE will not. There are some optimizations made and the code from the variable might be used in-line.
So my question is: Do some of the breakpoints work in the XSL? Or whatever you try and wherever you place them they refuse to work?
Regards,
Adrian
As you know not all parsers are created equal and some will optimize the code up to a level where some breakpoints will be completely skipped.
e.g. If I set a breakpoint on a variable declaration:
Code: Select all
<xsl:variable name="myvar">
<xsl:value-of select="*[1]"/>
</xsl:variable>
So my question is: Do some of the breakpoints work in the XSL? Or whatever you try and wherever you place them they refuse to work?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service