[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Encoding problem or what else?

Subject: Re: Encoding problem or what else?
From: "FC" <flavio@xxxxxx>
Date: Wed, 7 Dec 2005 18:31:53 +0100
hex ef bb bf
----- Original Message -----
From: "Michael Kay" <mike@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, December 07, 2005 17:26
Subject: RE:  Encoding problem or what else?


> > However when I run my transformation one of the two produces
> > the following
> > saxon error:
> >
> > SXXP0003: Error reported by XML parser: Document root element
> > is missing.
> >
>
> It's actually a Xerces error: Saxon's just the messenger.
>
> I've never worked out exactly what it means, it seems to be something of a
> catch-all error to indicate that the file exists but Xerces hasn't been
able
> to start parsing it. I'm a little surprised that it should be produced for
> an encoding problem, but it's not impossible, as it does seem to cover
quite
> a range of conditions.
>
> Michael Kay
> http://www.saxonica.com/
>
>



Hello Micheal,
i checked the file with an HEX editor and it turned out that there are three
bytes whose hex code is EF BB BF at the beginning of the offending file.
I guess this must be the reason why the parser is complaining, though I am
still not clear if this is some sort of multi-byte character or just some
junk that happens to be there. If I open the file with Wordpad, these
characters do not show up at all.

Thanks,
Flavio

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.