I have prepared a set of test case documents for the new DC in XHTML
recommendation at:
<URL:http://www.codestyle.org/test/DCTestCases.shtml>
These test cases are for my ParseRDF servlet, which converts DC in
XHTML to RDF. They begin with documents with the original DC in XHTML
scheme for regression testing.
The variations include meta elements with the new DCTERMS prefixes on
name and scheme attributes; link elements with both rel and rev
attributes; Dublin Core elements mixed and repeated with other link
types; checks for case insensitive prefixes; and the hreflang
attribute on links.
I think this set tests the full range of cases. Though most of the
objects are dummy values for checking, the RDF output is valid.
I would appreciate feedback on the test cases (and RDF output) and
suggestions for any less obvious permutations I may have missed.
Thanks in advance.
Best regards,
Phil
--
<URL:http://www.codestyle.org/>
|