HELP! Cannot debug xsl that uses xsl:result-document anymor
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
HELP! Cannot debug xsl that uses xsl:result-document anymor
I just upgraded to 14.2, Linux stand alone Oxygen
I needed to debug a script I hadn't looked at since I upgraded. Now the debugger reports an error as soon as I encounter this line, #154
<xsl:result-document href="{$filename}" format="csps-xhtml">
Of course the script runs fine by applying it in the editor or in my command line build.
the error is
System ID: /home/scott/workspace/books_changes2/xslt/csps-tei2xhtml-book.xsl
Severity: fatal
Description: javax.xml.transform.TransformerException: java.io.FileNotFoundException: /home/scott/workspace/books_changes2/xslt/peo/epub_peo_book_partTitlePage.html (No such file or directory)
Start location: 154:0
I thought it may have been that I also switched to using the Sun 1.7 JDK, so I switched back to the bundled OpenJRE and still have the problem.
I'm hoping I just need to change some setting and that sits pilot error!
This is critical as I am stopped in my tracks because of this behavior.
I needed to debug a script I hadn't looked at since I upgraded. Now the debugger reports an error as soon as I encounter this line, #154
<xsl:result-document href="{$filename}" format="csps-xhtml">
Of course the script runs fine by applying it in the editor or in my command line build.
the error is
System ID: /home/scott/workspace/books_changes2/xslt/csps-tei2xhtml-book.xsl
Severity: fatal
Description: javax.xml.transform.TransformerException: java.io.FileNotFoundException: /home/scott/workspace/books_changes2/xslt/peo/epub_peo_book_partTitlePage.html (No such file or directory)
Start location: 154:0
I thought it may have been that I also switched to using the Sun 1.7 JDK, so I switched back to the bundled OpenJRE and still have the problem.
I'm hoping I just need to change some setting and that sits pilot error!
This is critical as I am stopped in my tracks because of this behavior.

-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: HELP! Cannot debug xsl that uses xsl:result-document an
Hello,
Thank you for reporting your issue.
In order to investigate this, if possible, please send us some sample file (or even a code snippet) for which this is reproducible.
In order to be kept private, you can send the files on our support email address, which is support AT oxygenxml DOT com
Regards,
Costin
Thank you for reporting your issue.
In order to investigate this, if possible, please send us some sample file (or even a code snippet) for which this is reproducible.
In order to be kept private, you can send the files on our support email address, which is support AT oxygenxml DOT com
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 2
- Joined: Thu Jun 06, 2013 11:50 pm
- Location: Zapopan, Jalisco
Re: HELP! Cannot debug xsl that uses xsl:result-document an
Hi there,
I'm having the same problem. Using <xsl:result-document> works perfectly in the command line and the oXygen Editor perspective but not in the XSLT Debugger. Here's a sample code I'm working with:
Any help would be appreciated.
Thanks,
Noe
I'm having the same problem. Using <xsl:result-document> works perfectly in the command line and the oXygen Editor perspective but not in the XSLT Debugger. Here's a sample code I'm working with:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<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="/" mode="#default">
<xsl:result-document href="foo/bar/baz/sample.xml" method="xml" indent="yes">
<xsl:apply-templates select="/" mode="copy"/>
</xsl:result-document>
</xsl:template>
<xsl:template match="/" mode="copy">
<xsl:copy-of select="." />
</xsl:template>
</xsl:stylesheet>
Thanks,
Noe
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: HELP! Cannot debug xsl that uses xsl:result-document an
Hello Noe,
Thank you for letting us know about this.
Indeed, there seems to be a problem with xsl:result-document in the XSLT debugger in certain contexts, as per your example. We are currently analyzing this and we will come back to you as soon as we have the results.
Regards,
Adrian
Thank you for letting us know about this.
Indeed, there seems to be a problem with xsl:result-document in the XSLT debugger in certain contexts, as per your example. We are currently analyzing this and we will come back to you as soon as we have the results.
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
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: HELP! Cannot debug xsl that uses xsl:result-document an
Hi again,
We've analyzed the problem and this bug in the XSLT debugger is caused by the href of the xsl:result-document pointing to a file from a non-existing folder path.
If you manually create the folder structure 'foo/bar/baz/' it will run correctly in the debugger.
Alternatively, to do this quickly, you could create and run a transformation scenario for the stylesheet at least once. This will create the file and folder structure and the debugger will then work correctly.
I've logged this problem to our issue tracking tool and it will be resolved in the next release of Oxygen.
Regards,
Adrian
We've analyzed the problem and this bug in the XSLT debugger is caused by the href of the xsl:result-document pointing to a file from a non-existing folder path.
If you manually create the folder structure 'foo/bar/baz/' it will run correctly in the debugger.
Alternatively, to do this quickly, you could create and run a transformation scenario for the stylesheet at least once. This will create the file and folder structure and the debugger will then work correctly.
I've logged this problem to our issue tracking tool and it will be resolved in the next release of Oxygen.
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
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: HELP! Cannot debug xsl that uses xsl:result-document an
Hello,
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 15.0, 2013061418 (released on June 18th):
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2013061418
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 15.0, 2013061418 (released on June 18th):
You can download the latest maintenance build from our web site:The debugging session ended abruptly with a FileNotFoundException when encountering an xsl:result-document with a href pointing to a file from a nonexistent parent folder.
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2013061418
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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