This means that your input XML document isn't well-formed.
Michael Kay

From: [] On Behalf Of enis enis
Sent: 07 June 2006 10:22
Subject: [saxon] Error in execution of a query

I've already tested many queries with Saxon succesfully, but today every query I want to process, it leads to the same error :

net.sf.saxon.trans.DynamicError : org.xml.XASParserException : Premature end of file.
Query processing failed : Run-time errors were reported

The execution is done by a command like :
c:/saxon> xquery -o books.xml -s sortie.xml query.xql

thanks for help !