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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:57 UTC