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

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

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Wed, 6 Apr 2005 10:11:21 +0100
To: Arjohn Kampman <arjohn.kampman@aduna.biz>
Cc: Dan Brickley <danbri@w3.org>, www-rdf-comments@w3.org
Message-ID: <20050406101121.2960ea4f@hoth.ilrt.bris.ac.uk>

On Wed, 06 Apr 2005 09:11:08 +0200, Arjohn Kampman <arjohn.kampman@aduna.biz> wrote:

> 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.

Uhoh.

> 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?

Well, IMHO using reification at all is a modelling error :)

However your final correction looks ok to me to make the RELAXNG match
the normative grammar for literalPropertyElt.

Dave
Received on Wednesday, 6 April 2005 09:13:14 GMT

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