W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > June 2004

Case insensitive comparison of xml:lang values

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Fri, 04 Jun 2004 13:07:02 -0400
Message-ID: <40C0AC36.5080807@metalab.unc.edu>
To: www-xml-xinclude-comments@w3.org

This is an important point but one that's easy to fix. According to RFC 
3066, language

"tags are to be treated as case insensitive; there exist conventions for capitalization
 of some of them, but these should not be taken to carry meaning." However, this is not consistent
with language fixup in the XInclude CR which states, "Each element information item in the top-level included items <http://www.w3.org/TR/xinclude/#dt-top-level-included-items> which
has a different value of [language] than its include parent <http://www.w3.org/TR/xinclude/#dt-include-parent> has
an attribute information item added to its [attributes] property"

This should be rewritten to make it clear that this comparison is case insensitive.
fr-ca and FR-CA are the same thing, for example. 


--
Elliotte Rusty Harold
Received on Friday, 4 June 2004 13:07:19 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:09 GMT