W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: 3.6. The root element

From: Ben Boyle <benjamins.boyle@gmail.com>
Date: Mon, 30 Jul 2007 23:34:46 +1000
Message-ID: <5f37426b0707300634g484830d2g7a486d69116af34@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

Right... thanks Anne and Lachlan

Is the "null namespace" note really relevant to HTML? Does HTML even
have a  concept of namespaces? Why make this note?

I hope it's becoming clear how confusing these implementation
specifics will be for authors, how they get in the way of
understanding the markup rules. I appreciate they all have a purpose,
but I'd rather those details were stuffed in appendices where I'd only
encounter them if I really dug into details.

Many ways to address this, including producing a separate document for
authors (as has been suggested). I have found other HTML specs easier
to read in the past though, and kind of have that expectation that
HTML5 will be just as easy to read. Well, I *had* that expectation. I
feel alienated. If that is not intentional, please consider it for
future revisions.


On 7/30/07, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> Ben Boyle wrote:
> > http://dev.w3.org/html5/spec/Overview.html#the-root
> >
> > This seems fine to me.
> >
> > Unsure about the second note: doesn't xmlns="" put an element into the
> > "null" namespace in XML?
> Yes, but that's not what the note means.  It says:
>    In XML, an xmlns attribute is part of the namespace declaration
>    mechanism, and an element cannot actually have an xmlns attribute
>    in the null namespace specified.
> It's referring to the namespace of the attribute itself, not the
> namespace of the elemement.  In DOM implementations, the xmlns attribute
> is in the http://www.w3.org/2000/xmlns/ namespace.
> --
> Lachlan Hunt
> http://lachy.id.au/
Received on Monday, 30 July 2007 13:35:12 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:24 UTC