[oXygen-user] xsl:result-document and Saxon-SA gives "Cannot write to a URI that has already been read"
Andrew Welch
Thu Jun 25 04:27:21 CDT 2009
> It was a bug in previous versions that we fixed already: the output
> stream of an xsl:result-document without the href atttribute is bound to
> the same system ID as the XML input which is already opened for reading.
> I cannot reproduce it with the Oxygen 10.2 build that is available on
> the Oxygen website. What is your Oxygen build number? Anyway it has to
> work for you too if you use the following Oxygen 10.3 pre-release build:
>
> http://www.oxygenxml.com/update/10.2/All/oxygen.tar.gz
>
> Version 10.3 will be released in a couple of days.
Thanks, I was running
10.2, build 2009051915
after upgrading using the link you provided I'm now using
10.3, build 2009061713
...but the problem still occurs.
Running this stylesheet, using Saxon SA 9.1.0.6 in oXygen (10.2 or
10.3 :) gives: "Cannot write to a URI that has already been read: ..."
<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>
cheeeers
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
More information about the oXygen-user
mailing list