W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > April 2007

[OK?] Re: [SPARQL] i18n comment: Modification in description of langMatches operator

From: Eric Prud'hommeaux <eric@w3.org>
Date: Sat, 21 Apr 2007 17:09:52 -0700
To: fsasaki@w3.org, Jeremy Carroll <jjc@hpl.hp.com>
Cc: public-rdf-dawg-comments@w3.org, public-i18n-core@w3.org
Message-ID: <20070422000952.GD2194@w3.org>
* fsasaki@w3.org <fsasaki@w3.org> [2007-04-19 22:28+0900]
> 
> Comment from the i18n review of:
> http://www.w3.org/TR/2007/WD-rdf-sparql-query-20070326/
> 
> Comment 3
> At http://www.w3.org/International/reviews/0704-sparql/
> Editorial/substantive: S
> Location in reviewed document:
> Sec. 11.4.12
> Modification in description of langMatches operator
> 
> Comment:
>  
> We propose to replace the second sentence in the first paragraph: 
> \"RFC4647 defines a case-insensitive, hierarchical matchingalgorithm which operates on ISO-defined subtags for language and country codes, and user defined subtags.\". 
>  
> It would be better to use the terminology \"basic language range\" instead of \"hierarchical matching algorithm\". Also, note that matching defined in RFC4647 does not use sub tag information from e.g. the underlying ISO standards. Such information is described in RFC 4646for the purpose of language tag validation, a process independent of language tag matching. The validation process uses the IANAlanguage sub tag registry [http://www.iana.org/assignments/language-subtag-registry].
> 
>  
> Proposal for replacement of the second sentence: 
> \"RFC 4647 defines matching of language tags against basic and extended languageranges. This specification implements matching against basic language ranges.\"

Incorporating changes proposed by Jeremy Carol, I arrived at:
[[
Returns true if language-range (second argument) matches language-tag (first argument). language-range is a basic language range per Matching of Language Tags [RFC4647] section 2.1 and the matching scheme is basic filtering defined in [RFC4647] section 3.3.1. A language-range of "*" matches any non-empty language-tag string.
]]

Does this solution satisfy you? If so, please respond to this message, prefixing the Subject: with "[CLOSED]".
-- 
-eric

office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
mobile: +1.617.599.3509

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Sunday, 22 April 2007 00:10:25 GMT

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