Re: on test #grddlonrdf

Booth, David (HP Software - Boston) wrote:
> I'm confused.

Oh yes you are very right.
==========================

There is definitely an error in that the text of the comment presupposes 
that the two output files were the other way round, and I had 
unconciously corrected the links to read the other way
[[
Note that the input is an RDF document with a GRDDL transformation, and 
that according to the rules given by the GRDDL Specification, there are 
three distinct and equally valid output graphs for this test  for this 
document. This  *output* is a graph that is merge of the graph given by 
the source document with the graph given by the result of the GRDDL 
transformation.
]]

The word output is linked to

http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-output1.rdf

which has the single triple, whereas the 'merge of the graph[s]' is

http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-output3.rdf

(Which is specified as the output of the test)

So the text is written as if the links were the other way round.

But our preference for showing the maximal GRDDL result in the test 
document, argues for the current output document link, and hence 
significant change to the wording of the comment.

Concerning the (in)applicability of #rule_rdfxbase:
===================================================

My implementation passes this test, as do others, because ignoring the 
minor error in the RDF is sensible (in my judgement), but formally 
speaking you are correct to say that the spurious attribute invalidates 
#rule_rdfxbase. Possibly this test ought to be informative.

I think what would be consistent with our earlier decisions would be to 
make the test informative, on the basis that it shows plausible 
implementation behaviour in the face of (slightly) ill-formed input, 
which the spec does not cover. An implementation that refused to fire 
#rule_rdfxbase would, at a formal level, be correct.

#grddlonrdf-xmlmediatype
========================

The related test
http://www.w3.org/TR/grddl-tests/#grddlonrdf-xmlmediatype

suffers the same error but worse, in that both *output* links are to
http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-xmlmediatype-output3.rdf

but the text of the comment suggests the first link should be
http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-xmlmediatype-output1.rdf

I fear an erratum would be in order.

Jeremy

Received on Friday, 25 January 2008 12:47:31 UTC