OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Is it a well-formedness error to use a character notin 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS