Re: Non-ascii string processing?

From: Elliotte Rusty Harold (elharo@metalab.unc.edu)
Date: Wed Oct 08 2003 - 07:24:46 CST


At 8:08 AM -0400 10/8/03, John Cowan wrote:

>No, it doesn't. There was a strong feeling in the W3C Core WG that
>it be possible to handle the Astral Planes uniformly; every character
>off the BMP, therefore, is a valid Char as well as a valid NameStartChar.

Of course it would have been possible to handle the "Astral Planes"
uniformly by making every character in them a legal Char, but not a
valid name character or name start character. This would have avoided
silliness like elements named after the musical symbol for a six
string fretboard or the damage of using undefined characters in XML
documents. It also would have been much more compatible with existing
parsers and tools. :-(

-- 
   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA


This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:54:24 CST