W3C home > Mailing lists > Public > public-rdf-wg@w3.org > November 2012

Re: Disimproved definition of literals in Concepts; close ISSUE-94?

From: Pierre-Antoine Champin <pierre-antoine.champin@liris.cnrs.fr>
Date: Wed, 7 Nov 2012 08:28:25 +0100
Message-ID: <CA+OuRR9cPTZ418GKKe8L1jbEBPNm938tDv=A4kDGqPRS9zFZNg@mail.gmail.com>
To: Markus Lanthaler <markus.lanthaler@gmx.net>
Cc: "public-rdf-wg@w3.org" <public-rdf-wg@w3.org>, Richard Cyganiak <richard@cyganiak.de>
Markus,

if you want language-tagged HTML literal,
why not use the @lang attribute at the root of that HTML literal instead?

  pa


On Tue, Nov 6, 2012 at 11:38 PM, Markus Lanthaler
<markus.lanthaler@gmx.net>wrote:

> > The new definition is this:
> >
> > [[
> > A literal in an RDF graph consists of two or three elements:
> >
> > . [lexical form]
> > . [datatype IRI]
> >
> > A literal is a language-tagged string if and only if its datatype IRI is
> http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, and only in this
> case
> the third element is present:
> >
> > . [language tag]
> > ]]
> >
>
> http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-concepts/index.html#dfn-liter
> al
>
> I'm sure you already discussed this but unfortunately I wasn't able to find
> anything relevant. Was it considered that also literals with datatypes
> other
> than rdf:langString can be language-tagged? I'm specifically thinking of
> rdf:html for example..
>
>
> Thanks,
> Markus
>
>
> --
> Markus Lanthaler
> @markuslanthaler
>
>
>
Received on Wednesday, 7 November 2012 07:28:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:52 GMT