NEW RDFa Test Suite (XHTML1.1, HTML4 and HTML5)

I spent some time this weekend re-writing the RDFa test harness so that
it would let us test XHTML1.1, HTML4 and HTML5 using a unified set of
tests. This will help us support more languages while reducing the test
writing burden. The old test harness[1] still exists at the old URL.

What this means for developers:

You can now test your RDFa processor against XHTML1.1, HTML4 and HTML5.
The only part that doesn't work are the XMLLiteral tests for HTML4 and
HTML5, but those should be fixed in the next 2-3 weeks. Once they are,
you'll be able to see if your processor is 100% conformant across all
HTML family languages.

General:

The new RDFa test suite is designed to grow as other languages include
RDFa (like HTML4, HTML5, ODF and SVG):

http://rdfa.digitalbazaar.com/test-suite/

Features of this new test harness:

* Allows unified testing of XHTML1.1, HTML4 and HTML5
* Serves documents with the correct Content-Type and document extension,
  for example: http://rdfa.digitalbazaar.com/test-suite/test-cases/0001
* Rewrites the XHTML source and SPARQL query files to proper HTML4 and
  HTML5.

Changes that were made:

* Much of the test harness code (Python and Javascript) was heavily
  modified.
* Many of the SPARQL files needed to refer to the new test suite
  URL, so the test suite URLs changed in the SPARQL queries. We will
  need to verify that I didn't screw anything up when moving everything
  over.

Changes that were not made:

* I still haven't fixed the XMLLiteral tests as some new questions came
  up while working on this update and subsequent updates to librdfa.
  I'll raise some of these issues in a separate e-mail.
* There were no other changes to the SPARQL other than the base URL
  for the test harness.

-- manu

[1] http://rdfa.digitalbazaar.com/rdfa-test-harness/

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: The Pirate Bay and Building an Equitable Culture
http://blog.digitalbazaar.com/2009/08/30/equitable-culture/

Received on Sunday, 20 September 2009 23:01:06 UTC