W3C home > Mailing lists > Public > public-rdf-comments@w3.org > June 2013

Turtle CR Parsing Example (7.4) should be more explicit about literal datatype

From: Gregory Williams <greg@evilfunhouse.com>
Date: Tue, 18 Jun 2013 19:37:20 +0200
Message-Id: <F3E88A36-C296-4EAE-8469-E2EB9385F4B7@evilfunhouse.com>
To: "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
The Turtle CR document says (in section 2.5.1, Quoted Literals):

"""If there is no datatype IRI and no language tag, the datatype is xsd:string."""

In section 7.4, part of the parsing example is:

"""
	 Emit an RDF triple: <...rdf#ericP> <.../givenName> "Eric" .
"""

This is based on the (partial) turtle:

"""
	ericFoaf:ericP :givenName "Eric" ;
"""

Based on the wording in section 2.5.1, I believe the parsing example should be explicit that the literal object being emitted has the datatype xsd:string.

thanks,
.greg
Received on Tuesday, 18 June 2013 17:37:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:57 UTC