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

Turtle CR lacks definition of xsd: prefix

From: Gregory Williams <greg@evilfunhouse.com>
Date: Tue, 18 Jun 2013 19:29:05 +0200
Message-Id: <A504CBAA-0F30-459C-BFB1-ED59F53ED899@evilfunhouse.com>
To: "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
As far as I can tell, the Turtle CR document doesn't define the xsd: prefix that is widely used throughout the document. The only place the prefix URI shows up is in a full datatype URI in section 2.5.1 where <http://www.w3.org/2001/XMLSchema#string> is said to be equivalent to the use of xsd:string just above it. However, the example uses "xsd:string" without defining the xsd @prefix (while it does properly define two other prefixes).

In one case, the document links an xsd datatype to the documentation for the datatype. The datatype "xsd:boolean" in section 2.5.3 is linked to http://www.w3.org/TR/xmlschema-2/#boolean. This may be helpful for understanding what the xsd boolean type is, but is not at all helpful to easily determine what the actual datatype URI of booleans is. It is also the only place where a link is provided to the xml schema datatypes document, which seems strange given the frequency of other xsd datatype references that do not provide such links.

I believe the definition of the xsd prefix should be added to the Turtle document, as a reading of the CR document lacks essential detail required to implement a turtle parser, and while that information is present in the xml schema datatypes document, the only link to that document is provided only for the xsd:boolean type, and does not make any mention that the datatype URI may be found by reading the xml schema document.

Received on Tuesday, 18 June 2013 17:29:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:34 UTC