[oXygen-user] xsl:result-document and Saxon-SA gives "Cannot write to a URI that has already been read"
Andrew Welch
Thu Jun 25 03:26:46 CDT 2009
Hi,
Using oXygen 10.2, this stylesheet runs as expected with Saxon B
9.1.0.6 (the output is <foo/>)
<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="/">
<xsl:result-document>
<foo/>
</xsl:result-document>
</xsl:template>
</xsl:stylesheet>
However if you change the transform engine to Saxon SA, it fails with:
"Cannot write to a URI that has already been read: ....."
cheers
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
More information about the oXygen-user
mailing list