Re: [xsl] troubles with document()

Subject: Re: [xsl] troubles with document()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Jan 2007 20:05:45 GMT
> But here saxon comes up with the following warning:
> 
> [FATAL] {xmlcopy} Error reported by XML parser; SystemID:
> file:/C:/test/images_gallery.xml.html; Line#: 1; Column#: -1

as the error message tries to make clear, the error isnt being raised by
saxon but by the cml parser, saxon is just passing it on.
If your file 

file:/C:/test/images_gallery.xml.html

is not well formed XML (and most files with .html extension are not well
formed) then it can not be used by any XML process.

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...

David

Current Thread