Re: Unable to round-trip tab character using XMLHttpRequest and XMLSerializer

Boris Zbarsky <[email protected]> Mon, 01 Oct 2007 18:23:32 -0500
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
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.

But yes, I think that the lack of round-trippability is a bug.

-Boris