Raptor 1.4.16-pre testing with GRDDL Test Cases

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have been testing Raptor against the GRDDL Test Cases
as described in
  http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests.rdf
  Last-Modified: Mon, 30 Apr 2007 15:38:04 GMT
using the python test framework.

Raptor build info:
  1) Raptor Subversion 1.4.16 pre-release Subversion r12344
  2) libCURL 7.16.2 to retrieve URIs and handle redirections
  3) libxml2 2.6.28 for XML DOM, XPath, ...
  4) libxslt 1.1.20+ from Subversion
       Last Changed Rev: 1429
       Last Changed Date: 2007-05-31 12:40:11 -0700 (Thu, 31 May 2007)
     to work around a bug.  This is fixed in libxslt release 1.1.21

The test suite was invoked as:
  python $testsuite/testft.py \
    --tester 'http://www.dajobe.org/foaf.rdf#me' \
    --project 'http://librdf.org/raptor/raptor.rdf' \
    --run '$rapper -m strict -i grddl -q -o rdfxml' \
    http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests >raptor-earl.rdf \

This calls rapper in strict mode to disable looking for microformats
in HTML content.


Test Failures
~~~~~~~~~~~~~

1) base-detail

This test should be removed from grddl-tests.rdf

http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#changelog
says:
  Revision 1.37  2007/04/30 15:42:38  cogbuji
  removed  base-detail.  See:
http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0264.html


2) embedded-rdf4

### Embedded RDF using a relative xml:base ###
	http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf4
running:  $rapper -m strict -i grddl -q -o rdfxml
http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf4
Saving result to  embedded-rdf4-output.result
Missing:  [(rdflib.URIRef('../..'),
rdflib.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#value'),
rdflib.Literal('one', language=None, datatype=None))]


Actual result from raptor (embedded-rdf4-output.result above):
- ------
<?xml version="1.0" encoding="utf-8"?>
<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="http://www.w3.org/2001/sw/">
    <rdf:value>one</rdf:value>
  </rdf:Description>
</rdf:RDF>
- ------
which is the single triple:
<http://www.w3.org/2001/sw/>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "one" .

Expected result from
http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf4-output :
<http://www.w3.org/2001/sw/>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "one" .

So I think it's the fault of the test framework.


Therefore, at this date I claim raptor passes all the GRDDL tests.

EARL file attached.

Cheers

Dave
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGb3xuQ+ySUE9xlVoRAj/2AJ4yPfg2Owa7Ka0eiZEfY5RU4oYFlgCaAwQX
6CCjgXCBONNM7VMIUnO0Ubc=
=8CQ2
-----END PGP SIGNATURE-----

Received on Wednesday, 13 June 2007 05:11:42 UTC