W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Re: [whatwg] Exploring new vocabularies for HTML

From: Thomas Broyer <t.broyer@gmail.com>
Date: Thu, 10 Apr 2008 17:55:49 +0200
Message-ID: <a9699fd20804100855l11339effv6221b87dc65c35eb@mail.gmail.com>
To: public-html@w3.org
On Thu, Apr 10, 2008 at 4:48 PM, Philip Taylor wrote:
> Thomas Broyer wrote:
>
> > To add to the discussion, here are small tests of IE's "namespace
> support":
> > http://www.ltgt.net/ie-namespace-tests.html
> > I've run the tests on IE7 on Vista, IE6 on WinXP SP2 (Virtual PC image
> > from Microsoft) and IE8b1 on WinXP SP2 (Virtual PC image from
> > Microsoft), the results are exactly the same.
> >
> > What's noticeable:
> > ...
> >
>
>  The behaviour is different if you document.write the namespaced HTML code -
> namespace declarations are inferred automatically when you write an element
> using a new prefix. Compare
> http://philip.html5.org/misc/ie-namespace-tests.html to the version above:
> the <baz:quux:foo>, <baz:foo> and <quux:foo> elements get put in 'baz' and
> 'quux' namespaces (with no urn) in IE6/8b1.

Yup, that's why I got confused comparing the behavior in the Live DOM
Viewer and the one described in Microsoft's documentations; and later
comparing the "live" and "dead" renderings in the "Zombie DOM Viewer".

Hence a test-document hosted on my domain ;-)

Now, I don't think document.write()ing namespaced elements is much
used "in the wild" (I suspect namespaced elements in IE to be mainly
in use with "element behaviors", deployed in intranets –I did code
such things–; outside document.write()s), so not having these inferred
declarations with document.write() shouldn't be a big deal.

Again, maybe someone at Microsoft have figures?

-- 
Thomas Broyer
Received on Thursday, 10 April 2008 16:22:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:14 GMT