Re: Unable to round-trip tab character using XMLHttpRequest and XMLSerializer
Jonas Sicking <[email protected]> Mon, 01 Oct 2007 17:40:32 -0700
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
Boris Zbarsky wrote: > Jonas Sicking wrote: >> Isn't it a bug that we're not creating a character entity in this case >> though? We're creating entities for characters that would produce >> invalid XML (<, &, >, etc) while serializing textnodes, so why not >> create them for whitespace when serializing attributes. > > Well. Putting a literal tab in an attribute does not produce "invalid" > XML by any means. Right, but it also doesn't correctly serialize the DOM. > But yes, I think that the lack of round-trippability is a bug. Mark, please file a bug on this so that we can track it. Unfortunately it is unlikely to get fixed for Firefox 3 unless someone steps up and provides a patch. / Jonas