[ rdflib.net ]

Comments on Test Cases

The following feedback is a result of parsing the test cases with RDFLib's rdf/xml parser. --eikeon

RDF/XML Test Cases

The following version of the test cases was used: http://www.w3.org/TR/2002/WD-rdf-testcases-20020429/

Along with the following version of the RDF/XML Syntax Specification: http://www.w3.org/TR/2002/WD-rdf-syntax-grammar-20020325/

The comments are currently only on test cases that are indicated as approved in the Manifest.

Positive

Of the 126 approved positive test cases 120 are passing with no issues along the way. The remaining 6 test cases follow:

rdf-containers-syntax-vs-schema/test004

The expected output contains the following triple:

<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://foo/bar> "foobar".
where RDFLib is getting:
_:a6 <http://foo/bar> "foobar".
Best I can tell, the triple should be the result of an empty property element. In which case, the subject comes from the r in the otherwise section and since there is no rdf:resource attribute, r should be a BNode.

rdfms-nested-bagIDs/test008

This test case is not working for the same reason as test004 above.

rdf-ns-prefix-confusion/test0007

Is rdf:aboutEach allowed as an attribute here? This test case fails since the parser reports the invalid property attribute of http://www.w3.org/1999/02/22-rdf-syntax-ns#aboutEach.

xmlbase/test014

It appears that the xml:base in the expected output does not match the actually xml:base as it is missing an "xmlbase/".

xmlbase/test015

Python's urlparse.urljoin is returning:

#foo
as the result of joining:
mailto:Jeremy_Carroll@hp.com and #foo
Have yet to dive into RFC 2396 to see which is correct.

rdf-charmod-uris/test001

Have yet to deal with any charmod issues.

Negative

Of the 38 approved negative test cases 35 are passing with no issues along the way. The remaining 3 test cases are failing but I have no issues with them.

rdf-charmod-literals/error001

Have yet to deal with any charmod issues.

rdf-charmod-literals/error002

Have yet to deal with any charmod issues.

rdf-charmod-uris/error001

Have yet to deal with any charmod issues.