[XSL-LIST Mailing List Archive Home]
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.