Page 1 of 1

XSL Breakpoint in <xsl:include/> file

Posted: Mon Jun 17, 2013 11:36 pm
by tgochenour
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.

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

Posted: Wed Jun 19, 2013 12:53 pm
by radu_pisoi
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

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

Posted: Wed Aug 15, 2018 6:47 pm
by mark2457
did you ever get this working. I have same issue

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

Posted: Thu Aug 16, 2018 8:47 am
by Radu
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