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

RE: Case insensitive comparison of xml:lang values

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Fri, 9 Jul 2004 17:42:48 -0700
Message-ID: <DF1BAFBC28DF694A823C9A8400E71EA204306801@RED-MSG-30.redmond.corp.microsoft.com>
To: "Elliotte Harold" <elharo@metalab.unc.edu>, <www-xml-xinclude-comments@w3.org>

We agree.  I've augmented the description as follows:

"Each element information item in the top-level included items which has
a different value of [language] than its include parent (taking
case-insensitivity into account per [IETF RFC 3066]) , or that has a
value if its include parent is a document information item, has an
attribute information item added to its [attributes] property."

And added RFC 3066 as an informative reference.

> -----Original Message-----
> From: www-xml-xinclude-comments-request@w3.org
[mailto:www-xml-xinclude-
> comments-request@w3.org] On Behalf Of Elliotte Harold
> Sent: Friday, June 04, 2004 10:07 AM
> To: www-xml-xinclude-comments@w3.org
> Subject: Case insensitive comparison of xml:lang values
> 
> 
> 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, 9 July 2004 20:43:20 GMT

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