Re: Element.create(): a proposal for more convenient element creation

On Mon, Aug 8, 2011 at 9:17 AM, Tab Atkins Jr. <> wrote:
> On Mon, Aug 8, 2011 at 1:17 AM, Jonas Sicking <> wrote:
>> Is there a reason to support namespaced attributes at all? They are
>> extremely rare, especially on the web.
>> Ideally I'd like to deprecate them, but I suspect that's not doable.
>> But I see no reason to support them in new APIs.
> SVG requires namespaced attributes for xlink, at least.  We're
> planning to get rid of that in SVG2, but for now it would be
> necessary.
> We could, of course, just say "Too bad, don't write things that need
> the xlink namespace, and wait for SVG2 to get rid of them".  I don't
> think this would be very bad.

Yup, that's my take on it. It's easy enough for people to write two
lines of code instead of one for now.

/ Jonas

Received on Monday, 8 August 2011 17:00:10 UTC