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

RE: troubles with document()

Subject: RE: troubles with document()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 25 Jan 2007 22:28:42 -0000
RE:  troubles with document()
> The actual error message is saying that the file does not 
> have a single top level "root" element.
> so either it's empty or has more than one element, or has 
> text at the top level or...

Very often this particular error message means that the file starts with a
byte order mark and you're trying to parse it with Crimson (the default
parser in JDK 1.4) which doesn't like byte order marks in UTF-8 files.

Michael Kay

Current Thread


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