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

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

From: Ivan Herman <ivan@w3.org>
Date: Wed, 7 Nov 2012 08:18:42 -0500
Cc: Markus Lanthaler <markus.lanthaler@gmx.net>, <public-rdf-wg@w3.org>
Message-Id: <A26D8DE6-D197-4FA4-AA9F-FEDD49FE4330@w3.org>
To: Richard Cyganiak <richard@cyganiak.de>

On Nov 7, 2012, at 05:54 , Richard Cyganiak wrote:

> On 6 Nov 2012, at 22:38, Markus Lanthaler wrote:
>> 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..
> 
> Language tags don't make sense for the vast majority of datatypes. Asking existing implementations to change in order to be able to store language tags for integers and dates is a non-starter.
> 
> This leaves the option of adding language tags to only a limited set of datatypes, like rdf:HTML. The objection there is that this would add *more* exceptions to the design of RDF literals (where our goal was to make the handling of literals more uniform), and also rdf:HTML doesn't need it because it already has a mechanism for language annotation (<span lang="xx">).
> 
> Best,
> Richard

I would be, actually, a little bit stronger than Richard on this one. I think it would be wrong to add a language tag to HTML (or to XML, for that matter): having two different tools (the XML/HTML provided tools as well as an RDF provided tool) would lead to confusion. Eg, when comparing two HTML literals (which is based on a DOM function), one where the language tag is set by RDF and the other where the language tag is set via the HTML attribute, would two such HTML literals be equal? (Provided the rest of the DOM is identical.)

Ivan


> 
> 
> 
>> 
>> 
>> Thanks,
>> Markus
>> 
>> 
>> --
>> Markus Lanthaler
>> @markuslanthaler
>> 
>> 
> 
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Wednesday, 7 November 2012 13:19:28 GMT

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