Re: [xml-dev] Is it a well-formedness error to use a character not in the encoding specified by the XML declaration?

From
David Carlisle <>
To
Greg Hunt <>
Date
2010-03-18T23:27:19Z
ID
<>
Thread
Re: [xml-dev] Is it a well-formedness error to use a character not in the encoding specified by the XML declaration?
On 18/03/2010 22:55, Greg Hunt wrote:
> Is a substitution character (x'1a' in many single byte character sets or
> 65533 in UTF-8) a legal character?

they are different characters

unicode U+001A isn't allowed in XML 1.0 (the only C0 control codes 
allowed are 9 10 13 32  ie white space.

U+FFFD (REPLACEMENT CHARACTER, code point 65533) is allowed in XML.


David