- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Mon, 28 Jul 2008 13:26:35 -0400
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
This is not an official comment nor is it anything that is vital for RDFa deployment. It is a "would be nice to have" unit test. I do not believe we have any tests for host-part relative URLs. We just found a bug in librdfa last week that happened when someone was specifying host-relative URLs: For example, if someone were to specify a URI like so: <a rel="next" href="/pages/15">next page</a> The correct behavior is to append the "/pages/15" part to the URL host-part, not the document part. librdfa was wrongfully appending the URL to the document part. Easy to fix, but I was surprised that none of the unit tests checked that common behavior. Just letting the rest of you know since I won't have time to write this unit-test in the next two weeks. Feel free to assign an action item to me on the telecon to get this in there. If you'd like to check to see if your parser is doing the right thing, here's a test URL: http://rdfa.digitalbazaar.com/fuzzbot/demo/audio.html Make sure that the following triple is being generated: <http://rdfa.digitalbazaar.com/fuzzbot/demo/audio.html#sneaking-sally> <http://purl.org/media#download> <http://rdfa.digitalbazaar.com/live/sneaking_sally.mp3> . -- manu -- Manu Sporny President/CEO - Digital Bazaar, Inc. blog: Bitmunk 3.0 Website Launches http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches
Received on Monday, 28 July 2008 17:27:14 UTC