You clearly have some kind of configuration problem, and I have no idea what it is.
 
Can you run one of the sample transformations issued with Saxon by using the com.icl.saxon.StyleSheet command directly?
 
Michael Kay


From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Chaoxin Qiu
Sent: 01 June 2004 17:28
To: saxon-help@lists.sourceforge.net
Subject: RE: [saxon] problem running saxon with xsltmark (now xsltbench)
Importance: High

I tried a different package called xsltbench with saxon (version 6_5_3) without luck --- essentially the same error messages.  By running the command line directly in my Linux shell, as follows:

 

java -classpath ../../packages/java/saxon/saxon.jar:../common trax 1 /opt/xsltbench/XSLTBench/testfiles/chess-fo/chess.xsl /opt/xsltbench/XSLTBench/testfiles/chess-fo/Kasparov-Karpov.xml

 

I got the following similar errors:

 

javax.xml.transform.TransformerConfigurationException: java.io.EOFException: no more input

      at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:123)

      at com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:127)

      at com.icl.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:79)

      at trax.main(trax.java:87)

---------

java.io.EOFException: no more input

      at com.icl.saxon.aelfred.XmlParser.popInput(XmlParser.java:4083)

      at com.icl.saxon.aelfred.XmlParser.pushURL(XmlParser.java:3620)

      at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:159)

      at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)

      at com.icl.saxon.om.Builder.build(Builder.java:265)

      at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:113)

      at com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:127)

      at com.icl.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:79)

      at trax.main(trax.java:87)

 

I did verify that the “classpath”, the .xsl/.xml files, and the trax files (trax.class and trax.java in the “common” directory as you can see from the command line) are all correct.  Are there other configuration details I need to check into? 

 

The only other thing I can think of is that I unzip the .zip package on my Window PC and copied the files to my Linux machine.  Is there any problem?

 

 

Thanks,

Charles   

 

 

 

 

 

-----Original Message-----
From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Michael Kay
Sent:
Thursday, May 27, 2004 3:01 AM
To: saxon-help@lists.sourceforge.net
Subject: RE: [saxon] problem running saxon with xsltmark

 

It's clearly some kind of configuration error, but I can't tell from this information what you've done wrong.

 

The stack trace looks intimidating, but that's simply the way the test driver has chosen to handle a simple "file not found" error returned by Saxon.

 

Michael Kay