[xsl] xalan 2.4 transformation to fo - "Content is not allowed in prolog"

Subject: [xsl] xalan 2.4 transformation to fo - "Content is not allowed in prolog"
From: T <a010846@xxxxxxxxx>
Date: Wed, 28 Aug 2002 12:33:54 +1000 (EST)
Sorry I am new to the Java world.

I have xalan 2.4 D1 jar files installed on my IBM USS
environment trying to transform my xml to fo.

My env :
PATH=/usr/lpp/java/IBM/J1.3/bin
CLASSPATH=:.:/u/rstda/xalan/xerces.jar:/u/rstda/xalan/xalan.jar:/u/rstda/xalan/x
ercesImpl.jar:/u/rstda/xalan/xml-apis.jar:/u/rstda/xalan/xsltc.jar:/u/rstda/xala
n/dom.jar:/u/rstda/xalan/sax.jar:/u/rstda/xalan/jaxp-api.jar
JAVA_HOME=usr/lpp/java/IBM/J1.3/



When I execute the command 
"java org.apache.xalan.xslt.Process -in stmt2.xml -xsl
stmt2.xsl -out stmt2.fo" 

I get the message 
"[Fatal Error] stmt2.xsl:1:1: Content is not allowed
in prolog.

file:///u/rstda/xalan/stmt2.xsl; Line 1; Column 1;
XSLT Error (javax.xml.transfo
rm.TransformerConfigurationException):
javax.xml.transform.TransformerException:
 org.xml.sax.SAXParseException: Content is not allowed
in prolog. "

The transformation works fine under Windows
environment using James Clark XSL-T Processor (WinEXE
version).

What could be the problem under IBM's USS ?

Joseph Tan

http://digital.yahoo.com.au - Yahoo! Digital How To
- Get the best out of your PC!

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread