W3C home > Mailing lists > Public > public-rdf-wg@w3.org > October 2012

adding {}s to grammar to address I18N-ISSUE-189

From: Eric Prud'hommeaux <eric@w3.org>
Date: Sun, 7 Oct 2012 08:32:55 -0400
To: public-rdf-wg@w3.org
Message-ID: <20121007123253.GB9613@w3.org>
The LC grammar includes a LANGTAG production

  [144s] LANGTAG ::= '@' [a-zA-Z]+ ('-' [a-zA-Z0-9]+)*

which doesn't match the one in BCP 47

         obs-language-tag = primary-subtag *( "-" subtag )
         primary-subtag   = 1*8ALPHA
         subtag           = 1*8(ALPHA / DIGIT)

(Basically, Turtle is too liberal in what it permits in a LANGTAG.)
The proposal from I18N was to reference
  http://tools.ietf.org/html/bcp47#section-2.1
which could mean one of:

1 remove the production rule and include instead (coursly) href the bcp47 defn.
2 preserve our production and href the bcp47 rule informatively
3 preserve our production and href the bcp47 rule normatively
4 align our production and href the bcp47 rule normatively

I've mocked up #4 in the editor's draft (my pref). See the last
sentence of
http://www.w3.org/2011/rdf-wg/wiki/I18n-Comments#189:_.5BS.5D_reference_obs-language-tag_instead_of_defining_your_own
for all the links.
-- 
-ericP
Received on Sunday, 7 October 2012 12:33:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:51 GMT