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

[rdf-xml] request for opinions on the "datatyped empty literals" errata.

From: Fabien Gandon <fabien.gandon@inria.fr>
Date: Mon, 29 Oct 2012 16:40:49 +0100 (CET)
To: RDF WG <public-rdf-wg@w3.org>
Message-ID: <629930459.13632554.1351525249226.JavaMail.root@inria.fr>

I am trying to close the last errata on the [rdf-xml] draft:

The errata says:
Serialization of datatyped empty literals is not anticipated by the RDF/XML grammar.
This is believed by several developers and former WG-members to be an omission in the grammar defined by the RDF/XML Syntax Specification: a bug was reported (and acknowledged by the editor), relating to the use of an rdf:datatype attribute on empty RDF properties. See the archived mailing list thread for technical details. In addition to the question of the RDF/XML grammar's syntactic completeness, note that this issue identifies a construct that occurs within RDF graphs that cannot be serialized in the RDF/XML syntax. 

The initial request for errata is here:
and here

Current section "7.2.16 Production literalPropertyElt" says
start-element(URI == propertyElementURIs ), attributes == set(idAttr?, datatypeAttr?))
Note that the empty literal case is defined in production emptyPropertyElt.

Current section "7.2.21 Production emptyPropertyElt" says
start-element(URI == propertyElementURIs ),
    attributes == set(idAttr?, ( resourceAttr | nodeIdAttr )?, propertyAttr*))

with section "7.2.7 Production propertyAttributeURIs" specifying and
anyURI - ( coreSyntaxTerms | rdf:Description | rdf:li | oldTerms )

with section "7.2.2 Production coreSyntaxTerms" including datatypes:
rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype 

My understanding here is that we could change section 7.2.21 this way:

7.2.21 Production emptyPropertyElt
start-element(URI == propertyElementURIs ),
    attributes == set(idAttr?, ( resourceAttr | nodeIdAttr | datatypeAttr)?, propertyAttr*))

Any opinions, critics, comments, remarks, insults ?

fabien, inria, @fabien_gandon, http://fabien.info
Received on Monday, 29 October 2012 15:41:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:22 UTC