Re: [Bug 25244] New: What do Attr objects serialize?
Bjoern Hoehrmann <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]> |
* [email protected] wrote: >https://www.w3.org/Bugs/Public/show_bug.cgi?id=25244 >For XMLSerializer.serializeToString-- > >In IE, these serialize the Attr's value only > >In Firefox, these serialize the empty string all the time > >It usually does not make sense to serialize an Attr object on its own, and it >certainly wouldn't constitute a well-formed internal general parsed entity. > >So, make the spec return the empty string (or throw) on a serialization of this >object type. Issues such as this one have long since been covered in http://shadowregistry.org/js/misc/#tbb7a8795b64734cbaebce0280b56a034 You might want to look through that to spot other gaps. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/