W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > November 2005

Re: [OK?] Re: SPARQL: language tag issues

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 11 Nov 2005 12:19:21 +0100
To: Eric Prud'hommeaux <eric@w3.org>
Cc: public-rdf-dawg-comments@w3.org
Message-ID: <ovu8n19a54mkaodgrbc7jpu8sqol3n85u6@hive.bjoern.hoehrmann.de>

* Eric Prud'hommeaux wrote:
>  Returns true if language-range (first argument) matches language-tag
>  (second argument) per Tags for the Identification of Languages
>  [RFC3066] section 2.5. RFC3066 defines a case-insensitive,
>  hierarchical matching algorithm which operates on ISO-defined
>  subtags for language and country codes, and user defined subtags. In
>  SPARQL, a language-range of "*" matches any non-empty language-tag
>  string.

http://lists.w3.org/Archives/Public/spec-prod/2005OctDec/0007.html would
suggest to change the reference to the more generic BCP 0047, XML 1.0
uses "The values of the attribute are language identifiers as defined by
[IETF RFC 3066], Tags for the Identification of Languages, or its
successor" -- either is fine with me as long as it is clear that SPARQL
does not need to be revised in order to consider the successor of RFC
3066 as the normative reference. The links also lack ".txt" which is
included for other RFC references.

Do I understand correctly that for some RDF with xml:lang="" or no in-
scope language information "*" would not match? That would be different
from e.g. how the Accept-Language:* header would be interpreted, is
there a specific reason for this difference?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 11 November 2005 11:19:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:49 GMT