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

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 UTC