Possible bug with xsl:result-document
Posted: Wed Mar 18, 2015 1:18 pm
(This is a cross post, the original question is: http://stackoverflow.com/questions/2907 ... ot-working)
When using the result-document facility of XSLT 2.0, "a.xml" does not work as the file name of the output document, that is, then, this document does not appear in the file system. Any other file name works, the problem is only with "a.xml".
The following code can be used to reproduce the problem, the input XML document does not matter.
Version information: <oXygen/> XML Editor 16.1, build 2014112517, Saxon-EE 9.5.1.7 as the XSLT processor.
Could someone of the Oxygen staff look into this?
When using the result-document facility of XSLT 2.0, "a.xml" does not work as the file name of the output document, that is, then, this document does not appear in the file system. Any other file name works, the problem is only with "a.xml".
The following code can be used to reproduce the problem, the input XML document does not matter.
Code: Select all
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:result-document method="xml" standalone="yes" href="a.xml">
<hello></hello>
</xsl:result-document>
</xsl:template>
</xsl:stylesheet>
Could someone of the Oxygen staff look into this?