I curious - why do you think this would make serialization difficult?
The attribute would be in the DOM in its original form, so when
serializing wouldn't it just get emitted in its original form? Bjoern Hoehrmann wrote: * Henri Sivonen wrote:The public DOM API is required to throw when setting an attribute whose namespace is null and whose local name is "xmlns:foo":That is only the case for the namespace-aware methods; you can use the DOM Level 1 methods to create such attributes. Obviously this results in difficulties if you try, say, to serialize the document. -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: sh...@aptest.com |
- Re: xmlns in HTML5 Henri Sivonen
- Re: xmlns in HTML5 Shane McCarron
- Re: xmlns in HTML5 Henri Sivonen
- Re: xmlns in HTML5 Sam Ruby
- Re: xmlns in HTML5 Bjoern Hoehrmann
- Re: xmlns in HTML5 Shane McCarron