[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: Character 150 withs Windows-1252 output
> Reading around a bit 150 is a control character... so does > that mean it shouldn't appear in source XML document > (unresolved) where the encoding is specified as ISO-8859-1 ?? I believe that in the ISO standard ISO 8859/1, the control blocks C0 and C1 (which includes 150) are unused - they are not part of the character set. However, according to Wikipedia [1], "the character map ISO_8859-1:1987, more commonly known by its preferred MIME name of ISO-8859-1 ... assigns the C0 and C1 control characters to the code values 00-1F, 7F, and 80-9F. The XML recommendation defines encodings in terms of their IANA definitions not their ISO definitions, so on that basis ISO-8859-1 does include the control character 150. In XML 1.1, there is a requirement that C0 and C1 characters (with obvious exceptions such as TAB) must be represented as character references. This is primarily to catch the common error where a Windows 1252 file is mislabelled as ISO-8859-1. [1] http://en.wikipedia.org/wiki/ISO_8859-1 Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|