Minor Comments on "RDF/XML Syntax Specification (Revised)"

Comments on:-

http://www.w3.org/TR/2003/WD-rdf-syntax-grammar-20030123
- RDF/XML Syntax Specification (Revised)
Status: W3C Working Draft 23 January 2003

Apologies for being well past the last call date; these comments,
however, are based on implementing the specification as a parser.

1) In section 7.12, the following:-

   If the rdf:datatype attribute d is given then o :=
   typed-literal(literal-value := t.string-value,
   literal-language := e.language, literal-datatype
   := a.string-value)

Assigns the rdf:datatype attribute to "d", but then passes
"a.string-value" to typed-literal instead of "d.string-value".

2) It is unclear in resourcePropertyElt that the nodeElement child has
to be parsed first before the information given in 7.2.15 can be
obtained (n.subject won't exist until the nodeElement is parsed).

3) The recent removal of rdf:bagID by RDF Core is, in this
implementer's opinion, an excellent decision, substantially reducing
as it does the complexity of XML/RDF parsers.

Given that these were the only comments encountered in implementation
of what is a notoriously verbose serialization, the RDF Core working
group is to be congratulated on its efforts.

Cheers,

--
Sean B. Palmer, <http://purl.org/net/sbp/>
"phenomicity by the bucketful" - http://miscoranda.com/

Received on Tuesday, 10 June 2003 10:57:25 UTC