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

ISSUE-12: xs:string VS plain literals: proposed resolution

From: Antoine Zimmermann <antoine.zimmermann@insa-lyon.fr>
Date: Wed, 04 May 2011 12:04:03 +0200
Message-ID: <4DC12493.9060206@insa-lyon.fr>
To: public-rdf-wg <public-rdf-wg@w3.org>
Hi,


With respect to ISSUE-12, I propose that we reformulate the resolution 
as follows:

"PROPOSED: Recommend that data publishers use plain literals instead of 
xs:string typed literals and tell systems to silently convert xs:string 
literals to plain literals without language tag."

In the text of the spec, we may want to add some more details, saying:

"In XSD-interpretations, any xs:string-typed literal "aaa"^^xs:string is 
interpreted as the character string "aaa", that is, it is the same as 
the plain literal "aaa". Thus, to ensure a canonical form of character 
strings and better interoperability, we recommend that data publishers 
always use plain literals instead of xs:string typed literals and tell 
systems to silently convert xs:string literals to plain literals without 
language tag whenever they occur in an RDF graph."



Regards,
-- 
Antoine Zimmermann
Researcher at:
Laboratoire d'InfoRmatique en Image et Systèmes d'information
Database Group
7 Avenue Jean Capelle
69621 Villeurbanne Cedex
France
Tel: +33(0)4 72 43 61 74 - Fax: +33(0)4 72 43 87 13
Lecturer at:
Institut National des Sciences Appliquées de Lyon
20 Avenue Albert Einstein
69621 Villeurbanne Cedex
France
antoine.zimmermann@insa-lyon.fr
http://zimmer.aprilfoolsreview.com/
Received on Wednesday, 4 May 2011 10:04:34 GMT

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