[Home] [By Thread] [By Date] [Recent Entries]


At 12:24 PM +1100 1/11/02, Rick Jelliffe wrote:


>And also, do surrogate pairs really introduce any issues that
>are not already present in combining character sequences?
>

Yes, I think they do. In particular for this thread, XML 1.0 names 
(and probably XML 1.1 names) can be checked for well-formedness and 
validity without worrying about combining characters. That is, each 
character can be checked in isolation irrespective of which character 
comes before or after it. However, this is not true of surrogates. 
Whether a surrogate char is legal or not depends on what comes before 
or after it.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member