RDF/XML with xml:base with URI with no path component

In developing an RDF/XML parser in Javascript for the tabulator[1],

We tripped over this test case:

http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test011.rdf
http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test011.nt
associated with issue
 http://www.w3.org/2000/03/rdf-tracking/#rdfms-xml-base
in http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/
 aka http://www.w3.org/TR/rdf-testcases/


It seems to say that in the case of xml:base declarations of
things like "http://www.example.com" we get
"http://www.example.com/reluri" instead of "http:reluri".

That seems to be add odds with the URI spec

http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#relative-base


[1] http://dig.csail.mit.edu/2005/ajar/ajaw/About.html

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Wednesday, 21 June 2006 22:01:42 UTC