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

xalan 2.4 transformation to fo - "Content is not allow

Subject: 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)
content is not allow
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.