RE: Making <template> play nice with XML and tags-and-text

From: Adam Barth [mailto:w3c@adambarth.com]
Sent: Monday, August 06, 2012 1:36 PM
> On Mon, Aug 6, 2012 at 11:44 AM, Tony Ross <tross@microsoft.com> wrote:
> >
> > I've been under the impression we're trying to shield HTML developers
> from namespaces, so I'm a little concerned that this new proposal will
> move us in the opposite direction. Sure I'd like a proposal that works
> for XML too, but not if it means making the feature confusing for web
> developers.
> 
> We already uses namespaces in HTML to implement SVG-in-HTML, for example.

I know and this works great at the parsing level, but developers get confused once they get to the DOM because suddenly namespaces matter again. I've lost count of how many times I've been asked why createElement("circle") doesn't work.

- Tony

Received on Monday, 6 August 2012 21:03:21 UTC