Re: Concepts Update

(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.

	Andy

Received on Friday, 10 May 2013 12:43:51 UTC