Re: NTriple review

At 12:31 PM 11/11/02 +0000, Dave Beckett wrote:
>Hmm, the EBNF we are using from
>http://www.w3.org/TR/REC-xml#sec-notation can't express the length
>restrictions of RFC3066 on the primary-subtag and subtag.
>
>so at best we can have:
>
>   language ::= [A-Za-z0-9]+ ('-' [A-Za-z0-9]+ )?
>
>or if we go for lowercase only
>
>   language ::= [a-z0-9]+ ('-' [a-z0-9]+ )?
>
>I'm prefering the latter I think; with pointers to the RFC3066
>section above.  The current N-Triples language definition is too far
>away from the RFC3066 etc. version.

I don't have strong feelings here, but I note that RFC3066 explicitly 
allows upper- and lower-case.  That doesn't mean we can't be more 
restrictive in N-triples.  I think either of the above is OK.

#g


-------------------
Graham Klyne
<GK@NineByNine.org>

Received on Monday, 11 November 2002 14:49:02 UTC