W3C home > Mailing lists > Public > public-grddl-comments@w3.org > July to September 2007

GRDDL test output file loopx-output is invalid

From: Dave Beckett <dave@dajobe.org>
Date: Sun, 23 Sep 2007 18:09:48 -0700
Message-ID: <46F70E5C.9060103@dajobe.org>
To: public-grddl-comments@w3.org

The expected output of test
  http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#loopx
is in
  http://www.w3.org/2001/sw/grddl-wg/td/loopx-output

but it is not legal RDF/XML right now, so the test should always fail.

<!-- A GRDDL aware agent that considers
  all GRDDL results of IR, when computing the
  GRDDL results for IR, may produce this
  output.
-->
<rdf:RDF
  xmlns:data-view="http://www.w3.org/2003/g/data-view#"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="">
          <data-view:namespaceTransformation
              rdf:resource="loopx.xsl" />
          <data-view:namespaceTransformation
              rdf:resource="loopy.xsl" />
          <data-view:namespaceTransformation
              rdf:resource="one.xsl" />
          <rdf:Description rdf:value="one"/>
  </rdf:Description>
</rdf:RDF>


You cannot have an rdf:Description used as a property element
inside another rdf:Description.

$ rapper -c http://www.w3.org/2001/sw/grddl-wg/td/loopx-output
rapper: Parsing URI http://www.w3.org/2001/sw/grddl-wg/td/loopx-output
rapper: Error - URI
http://www.w3.org/2001/sw/grddl-wg/td/loopx-output:16 - rdf:Description
is forbidden as a property element.
rapper: Failed to parse URI
http://www.w3.org/2001/sw/grddl-wg/td/loopx-output rdfxml content
rapper: Parsing returned 3 triples


The W3C RDF Validator agrees, so it's not just my code:
http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F%2Fwww.w3.org%2F2001%2Fsw%2Fgrddl-wg%2Ftd%2Floopx-output&PARSE=Parse+URI%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED

What is curious is that according to HTTP the document was:
  Last-Modified: Thu, 29 Mar 2007 14:06:48 GMT
but looks like it's been in the test suite for months.

Dave
Received on Monday, 24 September 2007 01:10:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:43 GMT