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

RDF-ISSUE-94 (literal-definition): Definition of literals does not include language-tagged strings properly [RDF Concepts]

From: RDF Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Wed, 22 Aug 2012 09:13:11 +0000
Message-Id: <E1T46zv-0000TV-3Z@tibor.w3.org>
To: public-rdf-wg@w3.org
RDF-ISSUE-94 (literal-definition): Definition of literals does not include language-tagged strings properly [RDF Concepts]

http://www.w3.org/2011/rdf-wg/track/issues/94

Raised by: Antoine Zimmermann
On product: RDF Concepts

The current definition of literal and langstring says, in substance:

a. Literals consists of 2 things.
b. Langstrings are literals that consists of 3 things.

It must be clear that literals can consist of 3 things as well, before refering on the definition inconsistently. Proposed rewording:

"""
A /literal/ has 2 components which are:
  * a /lexical form/ being a Unicode [UNICODE] string, which should be in Normal Form C [NFC],
  * a /datatype IRI/ being an IRI that establishes the literal value;
and MAY have a third component which is a non-empty /language tag/ as defined by [BCP47]. The language tag MUST be well-formed according to section 2.2.9 of [BCP47], and MUST be normalized to lowercase.
Literals with a language tag are called /language-tagged strings/ and their datatype IRI MUST be http://www.w3.org/1999/02/22-rdf-syntax-ns#langString.
"""
Received on Wednesday, 22 August 2012 09:13:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:02:06 UTC