W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2013

Re: Concepts Update

From: David Wood <david@3roundstones.com>
Date: Fri, 10 May 2013 10:48:19 -0400
Cc: public-rdf-wg@w3.org
Message-Id: <1E3E65A7-A566-4B1D-B1BB-0273151A82DB@3roundstones.com>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
On May 10, 2013, at 08:43, Andy Seaborne <andy.seaborne@epimorphics.com> wrote:

> (minor)
> 
> The Concepts note:
> 
> """
> Implementors might wish to note that language tags conform to the regular expression '@' [a-zA-Z]+ ('-' [a-zA-Z0-9]+)* before normalizing to lowercase.
> """
> 
> isn't quite right.
> 
> By BP47 where the conformance is complicated,  and by RFC3066 subtags are limited to 8 chars.
> 
> Probably referring to the RFC 3066 regex is enough:
> 
>    Language-Tag = Primary-subtag *( "-" Subtag )
>    Primary-subtag = 1*8ALPHA
>    Subtag = 1*8(ALPHA / DIGIT)
> 
> or in a syntax close to the rest of our grammars:
> 
> '@' [a-zA-Z]{1,8} ('-' [a-zA-Z0-9]{1,8})*
> 
> For a "Note" box, I think using {,} is OK even if it's not strictly in the EBNF of XML.


That works for me.  I don't object unless the Turtle editors want to.

Regards,
Dave
--
http://about.me/david_wood


> 
> 	Andy
> 
> 
> 



Received on Friday, 10 May 2013 14:48:41 UTC

This archive was generated by hypermail 2.3.1 : Friday, 10 May 2013 14:48:41 UTC