Re: Concepts Update

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