[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: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Jan 2007 20:05:45 GMT
Re:  troubles with document()
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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