xsl-list
[Top] [All Lists]

RE: [xsl] troubles with document()

2007-01-25 15:59:13
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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>