Breakpoints not working in included files
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 4
- Joined: Thu Aug 09, 2018 8:43 pm
Breakpoints not working in included files
I'm sure this used to work , but hasn;t worked fro at least the last few major releases (19+)
I have XSLT's included in the main file: <xsl:include href="Helpers.xsl"/>
Doesn't matter where I put breakpoints in the Helpers.xsl, the debugger never stops (even if I have already stepped into the file)
This is making the debugger unuseable and is the main reason I use OxygenXML
I have XSLT's included in the main file: <xsl:include href="Helpers.xsl"/>
Doesn't matter where I put breakpoints in the Helpers.xsl, the debugger never stops (even if I have already stepped into the file)
This is making the debugger unuseable and is the main reason I use OxygenXML
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Breakpoints not working in included files
Hi Mark,
Here's what I tested on my side:
1) Created an XML document:
2) Created a "main.xsl":
3) Created a "Helpers.xsl" next to the "main.xsl":
I created an XSLT transformation scenario in Oxygen for the "test.xml" with the "main.xsl" using Saxon 9 PE.
I used the "Debug Scenario" toolbar action and in the Debugger perspective I added a breakpoint inside the Helpers.xsl at the "<someTag>" line (line 7). I used the "Run (Shift F5)" toolbar action and the debugger stopped at that line.
Maybe you could try to also write on your side a minimal set of XML + XSLT example with which you can reproduce the problem on your side and either post it on this forum thread or send it to us (support@oxygenxml.com).
Regards,
Radu
Here's what I tested on my side:
1) Created an XML document:
Code: Select all
<root>
<child></child>
</root>
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:include href="Helpers.xsl"/>
<xsl:template match="/">
<root2>
<xsl:apply-templates/>
</root2>
</xsl:template>
</xsl:stylesheet>
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:template match="child">
<someTag></someTag>
</xsl:template>
</xsl:stylesheet>
I used the "Debug Scenario" toolbar action and in the Debugger perspective I added a breakpoint inside the Helpers.xsl at the "<someTag>" line (line 7). I used the "Run (Shift F5)" toolbar action and the debugger stopped at that line.
Maybe you could try to also write on your side a minimal set of XML + XSLT example with which you can reproduce the problem on your side and either post it on this forum thread or send it to us (support@oxygenxml.com).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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