W3C home > Mailing lists > Public > public-swd-wg@w3.org > January 2008

FOAF namespace - redirection testing and QA

From: Dan Brickley <danbri@danbri.org>
Date: Mon, 28 Jan 2008 23:26:28 +0000
Message-ID: <479E64A4.4080508@danbri.org>
To: foaf-dev <foaf-dev@lists.foaf-project.org>, SWD Working Group <public-swd-wg@w3.org>

(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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:31:47 UTC