Oxygen no longer clears output when starting transformation
Oxygen general issues.
-
- Posts: 3
- Joined: Sat Sep 20, 2008 4:46 am
Oxygen no longer clears output when starting transformation
Hi,
I recently downloaded the new version of Oxygen. I had been using Oxygen 6.5 previously. I recently downloaded v9.3 just to try the new version out.
I noticed a difference between the debugger output between the two versions. In my stylesheets, I typically use xsl:result-document to create textual output files. When using v6.5, the debugger would clear the result documents each time you start a transformation. In version 9.3, the document contents are not cleared before the transformation begins. Instead, the respective document content is concatenated to each existing output document.
Is there a setting to clear the debugging output result documents when a transformation begins?
I don't believe this situation has anything to do with my source code. The only difference I can think of is Saxon: I am now using Saxon-B 9.0.0.6 where before I was using something else.
Thanks In Advance.
Matt
I recently downloaded the new version of Oxygen. I had been using Oxygen 6.5 previously. I recently downloaded v9.3 just to try the new version out.
I noticed a difference between the debugger output between the two versions. In my stylesheets, I typically use xsl:result-document to create textual output files. When using v6.5, the debugger would clear the result documents each time you start a transformation. In version 9.3, the document contents are not cleared before the transformation begins. Instead, the respective document content is concatenated to each existing output document.
Is there a setting to clear the debugging output result documents when a transformation begins?
I don't believe this situation has anything to do with my source code. The only difference I can think of is Saxon: I am now using Saxon-B 9.0.0.6 where before I was using something else.
Thanks In Advance.
Matt
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen no longer clears output when starting transformation
Hi Matt,
We cannot reproduce the problem using a small sample XSL which splits an XML into different files. We'll request more details to your email address and then update the post if necessary.
Regards,
Radu
We cannot reproduce the problem using a small sample XSL which splits an XML into different files. We'll request more details to your email address and then update the post if necessary.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Sat Sep 20, 2008 4:46 am
Re: Oxygen no longer clears output when starting transformation
Hi Radu,
Sorry for the delay in response.
Here is content as an example:
Sample.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Files>
<File>File1.txt</File>
<File>File2.txt</File>
</Files>
Sample.xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:saxon="http://saxon.sf.net/"
exclude-result-prefixes="xs"
extension-element-prefixes="saxon"
>
<xsl:template match="/Files">
<xsl:for-each select="File">
<xsl:result-document href="{.}" method="text" indent="yes">
<xsl:sequence select="concat('File: ', .)"/>
</xsl:result-document>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
By simply debugging the XSLT transform, you can see that multiple output files tabs are generated. If you debug the transformation a second time, you can see that the result tabs are not cleared. Instead, the file content is concatenated.
I am using: <oXygen/> XML Editor 9.3, build 2008081313
I have not altered any preferences specifically that I know of.
Any help would be appreciated. Thanks in Advance.
Sorry for the delay in response.
Here is content as an example:
Sample.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Files>
<File>File1.txt</File>
<File>File2.txt</File>
</Files>
Sample.xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:saxon="http://saxon.sf.net/"
exclude-result-prefixes="xs"
extension-element-prefixes="saxon"
>
<xsl:template match="/Files">
<xsl:for-each select="File">
<xsl:result-document href="{.}" method="text" indent="yes">
<xsl:sequence select="concat('File: ', .)"/>
</xsl:result-document>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
By simply debugging the XSLT transform, you can see that multiple output files tabs are generated. If you debug the transformation a second time, you can see that the result tabs are not cleared. Instead, the file content is concatenated.
I am using: <oXygen/> XML Editor 9.3, build 2008081313
I have not altered any preferences specifically that I know of.
Any help would be appreciated. Thanks in Advance.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen no longer clears output when starting transformation
Hi Matt,
The problem seems to be occuring when the output files are located in a directory path containing spaces.
We reproduced it and will try to find a fix in time for Oxygen 10.0 (couple of days).
Regards,
Radu
The problem seems to be occuring when the output files are located in a directory path containing spaces.
We reproduced it and will try to find a fix in time for Oxygen 10.0 (couple of days).
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