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

RE: invalid character (Unicode: 0xa0) in xsl docume

Subject: RE: invalid character (Unicode: 0xa0) in xsl document
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sun, 29 Apr 2001 23:15:53 +0100
0xa0
> > javax.xml.transform.TransformerConfigurationException: An
> invalid XML
> > character (Unicode: 0xa0) was found in the element content of the
> > document.
>
> Well, your document says it's UTF-8. I'm not an expert on Unicode
> and related issues, but i think 0xa0, while it is Unicode, is
> not a possible
> UTF-8 character.

Are we sure this is what it means? It doesn't say that an invalid byte was
found, it says an invalid character was found. 0xa0 is a valid Unicode
character and a valid XML character, even though it has to be encoded by
some two-byte sequence in UTF-8.

Perhaps the message is talking about validity against the DTD, and saying
that the DTD requires element content (as distinct from mixed content). The
elements can then only be separated by whitespace characters, and 0xa0 is
not classified in XML as a whitespace character.

I'm only speculating, it's not my product!

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.