[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Official ISO 639 changes

  • From: Elliotte Rusty Harold <elharo@m...>
  • To: "'Unicode List'" <unicode@u...>
  • Date: Tue, 25 Apr 2000 16:55:40 -0400

oficial iso lang
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@m... | 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/     |
+----------------------------------+---------------------------------+

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.