W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 2007

RDF/XML Syntax Bug: Incorrect resolve(...) Calls

From: Sean B. Palmer <sean@miscoranda.com>
Date: Thu, 1 Nov 2007 10:18:21 +0000
Message-ID: <b6bb4d890711010318n16d3720ak71ad897258ec05a9@mail.gmail.com>
To: www-rdf-comments@w3.org

Section 6.3.3 Grammar Action Notation of the RDF/XML Syntax
Specification (Revised) [1] defines the resolve action with the
signature resolve(e, s), i.e. taking two arguments, and yet we find
the following:

u:=uri(identifier:=resolve(a.string-value))
- 7.2.11 Production nodeElement

u:=uri(identifier:=resolve(a.string-value))
- 7.2.21 Production emptyPropertyElt

Which is a bug. I believe that both of these should read:

u:=uri(identifier:=resolve(e, a.string-value))

But this suggestion ought to be peer reviewed; it's intuitive rather
than based on comparing with existing implementations &c.

Thanks,

[1] http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/

-- 
Sean B. Palmer, http://inamidst.com/sbp/
Received on Thursday, 1 November 2007 10:18:33 GMT

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