W3C home > Mailing lists > Public > www-rdf-comments@w3.org > April to June 2005

Another error in RDF/XML Syntax Specification? (was: Re: Error in RDF/XML Syntax Specification?)

From: Arjohn Kampman <arjohn.kampman@aduna.biz>
Date: Wed, 06 Apr 2005 09:11:08 +0200
Message-ID: <42538B8C.3070508@aduna.biz>
To: Dan Brickley <danbri@w3.org>
Cc: Dave Beckett <dave.beckett@bristol.ac.uk>, www-rdf-comments@w3.org

Dan Brickley wrote:
> * Dan Brickley <danbri@w3.org> [2005-04-05 13:50-0400]
> 
>>>http://www.w3.org/2004/02/Process-20040205/process.html#rec-modify
> 
> 
> FWIW I've added a link to that, and to www-rdf-comments, to the errata page,
> also noting that the WG has closed. 

Dan,

Could you also add an additional note about a likely error in the RELAX
NG grammar (section A.1)? The literalPropertyElt production in this
grammar reads:

literalPropertyElt =
   element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType |
                 rdf:resource | rdf:nodeID | rdf:datatype |
                 rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix |
                 rdf:bagID | xml:* ) {
       (idAttr | datatypeAttr )?, xmllang?, xmlbase?, text
   }

This production only allows either an rdf:ID attribute or an
rdf:datatype attribute to be specified, but not both. This is different
from the normative grammar in chapter 7. The result of following this
grammar would be that triples with a datatyped literal as object cannot
be reified in the normal way.

The corrected production reads:

literalPropertyElt =
   element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType |
                 rdf:resource | rdf:nodeID | rdf:datatype |
                 rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix |
                 rdf:bagID | xml:* ) {
       idAttr?, datatypeAttr?, xmllang?, xmlbase?, text
   }

Any editors or former WG-members that can acknowledge this error too?

--
Arjohn
Received on Wednesday, 6 April 2005 08:08:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:34 GMT