xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] troubles with document()


Subject: RE: [xsl] troubles with document()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 25 Jan 2007 22:28:42 -0000

> 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
http://www.saxonica.com/


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor