XSL Breakpoint in <xsl:include/> file

Here should go questions about transforming XML with XSLT and FOP.
tgochenour
Posts: 4
Joined: Sun Mar 10, 2013 4:18 am

XSL Breakpoint in <xsl:include/> file

Post by tgochenour » Mon Jun 17, 2013 11:36 pm

When I place a breakpoint on code that referenced in an <xsl:include/> directive, the breakpoint doesn't cause a stop. I can place breakpoints only in the top-level XSL file or in the XML file. I can step into the code referenced by <xsl:include/>. The reverse trace feature from the output pane locates and highlights the XSL code from the included file. This was true in versions 14.2 and 15.0. I have an XML catalog that is resolving the URI correctly. I'm running the Saxon6.5.5 transformation engine, but just tried it with Xalan with the same result.

I'd like for my breakpoints in included stylesheets to work.

radu_pisoi
Posts: 343
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: XSL Breakpoint in <xsl:include/> file

Post by radu_pisoi » Wed Jun 19, 2013 12:53 pm

Hi,

I cannot reproduce the reported problem when I'm running a simple debug session using the Saxon 6.5.5 transformer.

In my sample scenario I have two stylesheets, a main stylesheet and an included stylesheet that is resolved through a catalog using URI mappings. From what I've tested if I set a breakpoint in the included stylesheet the transformation will stop when the execution encounters the breakpoint.

In order to help us investigate this issue, could you please check if you set the breakpoint in the stylesheet that is resolved through XML catalog? Also, as a side note, the breakpoints are not taken into consideration when you use 'Run to End' action. To stop on breakpoints you have to use the 'Run' action.

If this is not your case, could you please send us some small sample files (XML, and XSL files) to reproduce the reported issue? Also, it is necessary to attach the XML catalog and to specify the breakpoint location (systemID and line). Our email address is support at oxygenxml.com.

Let us know if you need any other details.

Regards,
Radu
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

mark2457
Posts: 4
Joined: Thu Aug 09, 2018 8:43 pm

Re: XSL Breakpoint in <xsl:include/> file

Post by mark2457 » Wed Aug 15, 2018 6:47 pm

did you ever get this working. I have same issue

Radu
Posts: 6393
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSL Breakpoint in <xsl:include/> file

Post by Radu » Thu Aug 16, 2018 8:47 am

Hi Mark,

I see you already started another discussion thread, so we'll try to help you there:

viewtopic.php?f=6&t=17091&p=48773#p48773

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply