W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2008

problem with test 87 and resolution of :foo

From: Ben Adida <ben@adida.net>
Date: Thu, 07 Feb 2008 16:44:22 -0800
Message-ID: <47ABA5E6.3030403@adida.net>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Hi all,

So I'm trying out my parser on test case 87, which tests the following:

<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>

and other reserved words prefixed with just ":". Now the test says that 
these should resolve to vocab#alternate, vocab#appendix, etc...

Except, the top of the XHTML document contains:

<html xmlns="http://www.w3.org/1999/xhtml">

And since I'm processing xmlns statements, whatever default CURIE 
namespace I put in gets overridden by the document itself.

Is it really the right thing to say "parse xmlns declarations *except* 
for the default namespace one, which is always vocab#?"

this obviously shouldn't affect rel="license", since we do that with 
pre-processing special-casing anyways, but I didn't expect that 
rel=":license"  would also require special-casing.


Received on Friday, 8 February 2008 00:44:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:55 UTC