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

Re: a question concerning the HTML WD - XMLNS declaration in the root?

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 01 Jun 2005 12:01:29 +0200
To: "Ben Adida" <ben@mit.edu>, "Mark Birbeck" <mark.birbeck@x-port.net>
Cc: "'public-rdf-in-xhtml task force''" <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <op.srorgramsmjzpq@r600.lan>

You're right. It shouldn't say "on the root element" here. Thanks!

Steven

On Tue, 31 May 2005 23:05:00 +0200, Ben Adida <ben@mit.edu> wrote:

>
> Steven, Mark,
>
> I meant to ask this question during today's telecon, and I forgot.
>
> The Metainformation Attributes document says:
>
> [[
> Note that in order to reference relationship definitions via QName,  
> their namespace must be defined via an xmlns attribute on the root  
> element of the document
> ]]
>
> Does the namespace really have to be declared in the root element of the  
> document? Can't it be declared in any other parent element? I'm thinking  
> particularly about the modularity issue, where one might not be able to  
> edit the head of a document in a templated system.
>
> Let me be more precise. Shouldn't the following work:
>
> =====
> This document is licensed under a
> <a rel="cc:license" href="http://creativecommons.org/licenses/by-sa/2.0/"
>        xmlns:cc="http://web.resource.org/cc/">Creative Commons  
> License</a>.
> =====
>
> Thanks,
>
> -Ben
>
Received on Wednesday, 1 June 2005 10:01:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:19 UTC