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

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