Re: getting to Last Call on rdf:text

>> An example of a langpattern is "(en)|(en-.+)" - one could get more
>> precise by following http://www.rfc-editor.org/rfc/rfc4647.txt but
>> I'm not sure it's worth it.
>
> I think it's important to follow RFC 4647. A multiplicity of formats makes it more difficult to work with languages and the most likely useful source of 'langpattern' will be RFC 4647-style language priority lists. Also: following the pattern shown would NOT be compliant with BCP 47 language tag matching. (en-.+) matches many invalid tags, for example.

The pattern syntax needs to be take from XML Schema (unless there is
significant work done). Would it be possible to translate a reasonable
example into a regular expression? That would be a great help.

-Alan

Received on Tuesday, 24 March 2009 19:28:49 UTC