[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Strange Saxon error

Subject: Re: Strange Saxon error
From: Liam R E Quin <liam@xxxxxx>
Date: Wed, 14 Apr 2010 13:58:22 -0400
Re:  Strange Saxon error
On Wed, 2010-04-14 at 13:29 -0400, Stephen Arbour wrote:
> Hi all,
> We have a customer that was using Saxon using an XSLT
> transform that was created by a third party. When they upgraded to a
> version that uses Saxon, they started receiving this error:

You might find the saxon mailing list more appropriate.

> net.sf.saxon.trans.XPathException: Cannot read a document that was
> written during the same transformation:
> file:/C:/Program%20Files/K4%20XML%20Exporter/data/xsl/temp/21missouri4.xml

Sounds right to me. You might want to consider (1) holding the
document's contents in a variable so you don't need to read it again,
(2) running XSLT twice, (3) reworking the transformation so you don't
need to re-read values you already computed... e.g. you may find that
recomputing them is perfectly fast enough.


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.