Raptor GRDDL tests update - pass all tests but 1 or 2

Running the tests on the web against Raptor SVN r11882

$ ./run-grddl-tests.sh
Running test 1 - http://www.w3.org/2001/sw/grddl-wg/td/testlist1.rdf.
results to raptor_earl1.rdf errors to raptor_error1.log
All tests were passed!

Running test 2 - http://www.w3.org/2001/sw/grddl-wg/td/testlist2.rdf.
results to raptor_earl2.rdf errors to raptor_error2.log
All tests were passed!

Running test 3 - http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf.
results to raptor_earl3.rdf errors to raptor_error3.log
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#grddlonrdf2 failed
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#grddlonrdf3 failed
lt-rapper: Warning - URI
http://www.w3.org/2001/sw/grddl-wg/td/loop.xml:1 - Fetching XSLT
document URI 'http://www.w3.org/2003/g/sq1t.xsl' failed
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#loop failed
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#xinclude failed
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#langconneg2 failed
*
http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#grddlonrdf-xmlmediatype3
failed
*
http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#grddlonrdf-xmlmediatype2
failed


So for some interpretation.  Raptor passes 1 of all the multiple-results
tests in testlist3.rdf.  So that leaves 2 tests.

1) #loop
lt-rapper: Warning - URI
http://www.w3.org/2001/sw/grddl-wg/td/loop.xml:1 - Fetching XSLT
document URI 'http://www.w3.org/2003/g/sq1t.xsl' failed
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#loop failed

It fails the loop one the first time since it relies on ignoring
a 404 on one of the XSLTs - so I turned that into a warning as
you can see.  In detail, it does:

$ utils/rapper -t -i grddl -q
http://www.w3.org/2001/sw/grddl-wg/td/loop.xml 2>&1 |grep -v raptor_
lt-rapper: Processing URI http://www.w3.org/2001/sw/grddl-wg/td/loop.xml
lt-rapper: Processing URI http://www.w3.org/2001/sw/grddl-wg/td/loop-ns-b
lt-rapper: Processing URI http://www.w3.org/2001/sw/grddl-wg/td/loop
lt-rapper: Processing URI http://www.w3.org/2003/g/embeddedRDF.xsl
lt-rapper: Processing URI http://www.w3.org/2001/sw/grddl-wg/td/sq1t.xsl
lt-rapper: Processing URI http://www.w3.org/2003/g/embeddedRDF.xsl
lt-rapper: Processing URI http://www.w3.org/2003/g/sq1t.xsl
lt-rapper: Warning - URI
http://www.w3.org/2001/sw/grddl-wg/td/loop.xml:1 - Fetching XSLT
document URI 'http://www.w3.org/2003/g/sq1t.xsl' failed
lt-rapper: Processing URI http://www.w3.org/2003/g/embeddedRDF.xsl
<http://www.w3.org/2001/sw/grddl-wg/td/loop>
<http://www.w3.org/2003/g/data-view#namespaceTransformation>
<http://www.w3.org/2001/sw/grddl-wg/td/sq1t.xsl> .

but the test result has:
<http://www.w3.org/2001/sw/grddl-wg/td/loop>
<http://www.w3.org/2003/g/data-view#namespaceTransformation>
<http://www.w3.org/2003/g/sq1t.xsl> .

So I'm not sure if I've gone wrong or the test has a wrong result.


2) #xinclude
* http://www.w3.org/2001/sw/grddl-wg/td/testlist3.rdf#xinclude failed

This one we (me and Chimezie) think should generate 4 triples, not 3.

I get:
$ rapper -i grddl -q http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.html
<http://musicbrainz.org/mm-2.1/album/6b050dcf-7ab1-456d-9e1b-c3c41c18eed2>
<http://purl.org/dc/elements/1.1/title> "Are You Experienced?" .
<http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://xmlns.com/foaf/0.1/Agent> .
<http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9>
<http://xmlns.com/foaf/0.1/name> "The Jimi Hendrix Experience" .
<http://musicbrainz.org/mm-2.1/album/6b050dcf-7ab1-456d-9e1b-c3c41c18eed2>
<http://xmlns.com/foaf/0.1/maker>
<http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9>
.

but the expected result omits the first triple which is from
the XIncluded file and this transform:
$ xsltproc --xinclude
http://www.w3.org/2001/sw/grddl-wg/td/glean_title.xsl
http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.html


So either I pass the entire test, or fail 1 or fail 2.  Please
let me know :)

Dave

Received on Friday, 16 February 2007 07:35:40 UTC