W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2013

Re: bad language tags

From: Gavin Carothers <gavin@carothers.name>
Date: Mon, 6 May 2013 11:55:39 -0700
Message-ID: <CAPqY83xGiVyYyw1b9qO2eFL5bnE8VE9M=tR-EnedtRTO_kChKQ@mail.gmail.com>
To: Pat Hayes <phayes@ihmc.us>
Cc: "public-rdf-wg@w3.org WG" <public-rdf-wg@w3.org>
On Mon, May 6, 2013 at 10:47 AM, Pat Hayes <phayes@ihmc.us> wrote:

> (I think we may have decided this already, but can't find the decision.)
>
> If some RDF has a language-tagged literal with a bad language tag (not
> conforming to section 2.2.9 of BPC 47), is that
>
> 1. an RDF syntax error
> 2. syntactically legal but inconsistent (because the literal has no legal
> value)
> 3. legal and consistent (because even a bad language tag is still an RDF
> language tag) ?
>


+1 to 3, I'm unaware of any implementation that does 1 or 2.



>
> Pat
>
> PS.  If we have to decide this, I vote for 3 as being less work to
> implement, and on the grounds that RDF's job isn't to check on bad data.
>
> ------------------------------------------------------------
> IHMC                                     (850)434 8903 or (650)494 3973
> 40 South Alcaniz St.           (850)202 4416   office
> Pensacola                            (850)202 4440   fax
> FL 32502                              (850)291 0667   mobile
> phayesAT-SIGNihmc.us       http://www.ihmc.us/users/phayes
>
>
>
>
>
>
>
Received on Monday, 6 May 2013 18:56:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 6 May 2013 18:56:06 UTC