W3C home > Mailing lists > Public > public-rdf-text@w3.org > January to March 2009

Re: getting to Last Call on rdf:text

From: Alan Ruttenberg <alanruttenberg@gmail.com>
Date: Tue, 24 Mar 2009 15:27:56 -0400
Message-ID: <29af5e2d0903241227w38989994gecee9735b418eeda@mail.gmail.com>
To: "Phillips, Addison" <addison@amazon.com>
Cc: Sandro Hawke <sandro@w3.org>, "public-rdf-text@w3.org" <public-rdf-text@w3.org>, "team-rif-chairs@w3.org" <team-rif-chairs@w3.org>, "team-owl-chairs@w3.org" <team-owl-chairs@w3.org>
>> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:42 UTC