FOAF namespace - redirection testing and QA

(nerdy sysadmin details - ignore unless you're interested in RDF 
namespace management)


Just a quick note to mention that, since Ralph Swick found some FOAF 
terms that 404d instead of redirected with an HTTP 303 response, I've 
written a little QA script. It's handled as ruby unit tests currently, 
see src at:

http://svn.foaf-project.org/foaf/trunk/xmlns.com/htdocs/foaf/0.1/check303.rb

The tests should be reasonably self explanatory. It's a bit of a hack 
but an improvement for sure. And the .htaccess redirection is now 
auto-generated --- if the test fails it suggests a new set of .htaccess 
directives. Previously the redirects were maintained by hand, which as 
Ralph discovered, is error prone.

It would be nice to have this kind of testing offered as a service like 
the RDF validator, or from sites like http://schemacache.test.talis.com/
... does anyone have something like that, which I  could add to the unit 
tests?

cheers,

Dan

-- 
http://danbri.org/

Received on Monday, 28 January 2008 23:26:40 UTC