[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 9.1.0.7j using an XSLT > transform that was created by a third party. When they upgraded to a > version that uses Saxon 9.2.0.2, 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 -- 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|