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

Re: XSLT Xalan problem

Subject: Re: XSLT Xalan problem
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 17 Apr 2003 00:04:44 +0200
xalan problem
Charlie Allerston wrote:
I am geting an error which reads

file:///C:/swiss-prot/swiss-prot.xsl; Line 1; Column 8; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xmnl.transform.TransformerException: org.xml.sax.SAXParseException: The XML declaration may only appear at the very beginning of the document.
...
OK, so firstly can someone please tell me if I am interpreting the error correctly. It is telling me that I have some sort of problem with the XML declaration at the top of my XSL file?

Yes. The most probable reason is that you have a blank line or some other form of whitespace before the XML declaration in your XSL file. The "<" starting the XML declaration must be the very first character in the file. Check with a hex editor if necessary.

J.Pietschmann


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.