[foaf-dev] FOAF namespace - redirection testing and QA

Dan Brickley danbri at danbri.org
Mon Jan 28 23:26:28 GMT 2008

(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:


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 




More information about the foaf-dev mailing list