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

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