[ 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 115 are passing with no issues along the way. The remaining 9 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.

rdfms-rdf-names-use/test-013

Is rdf:Description allowed as a property element name? This test case fails since the parser reports the invalid property element name.

rdfms-rdf-names-use/test-025

Is there some reason why the list expansion rules do not apply in this case? This test case fails since the list expansion rules as specified in section 5.8 are being applied.

rdfms-rdf-names-use/test-026

Is rdf:Description really allowed as a property attribute name? This test case fails since the parser is reporting an the invalid property attribute name.

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 33 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.