W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2000

RE: Official ISO 639 changes

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Tue, 25 Apr 2000 16:55:40 -0400
Message-Id: <v04210104b52bb5cc8908@[192.168.1.254]>
To: "'Unicode List'" <unicode@unicode.org>
Cc: <xml-dev@xml.org>, <xml-editor@w3.org>
At 3:17 PM -0400 4/25/00, Fran┴ois Yergeau wrote:
>
>Some think than XML parsers should not validate the content of xml:lang and
>just pass it to the application.  The spec would be understood to just say
>that the semantics are from RFC 1766 (or its eventual successor with
>3-letter codes).
>
>Others think that it is important for parsers to validate xml:lang.  Adding
>3-letter codes then means a substantive change to the spec which may have to
>wait for XML 1.1 (or whatever the next version is).

Whether it's important or not, all XML 1.0 conforming parsers today 
do check xml:lang values, at least to the extent of making sure 
they're two letters and not three. Failing to do so is a 
well-formedness error because of Production 35.

I guess the immediate question is whether or not a simple erratum 
could make a change this big, or whether it really does need XML 1.1. 
If we made this change now, then parsers would need to be rewritten 
to conform to the revised spec. Documents that are not well-formed 
according to the old spec would be well-formed according to the new 
spec. However, all documents that conform to the old spec would still 
conform to the new spec (provided we allowed both two and three 
letter codes.)


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+
Received on Tuesday, 25 April 2000 17:06:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:30 GMT