Re: bug in e4x? missing = in XML attribute

Boris Zbarsky <[email protected]> Tue, 17 Feb 2009 10:26:55 -0500
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
OK, I have this minimized to this script:

       var xmlEl = new XML("<feed 
xmlns:gContact='http://schemas.google.com/contact/2' 
xmlns:batch='http://schemas.google.com/gdata/batch' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='W/&quot;xxxxxxxxxxxxxxxxxxxxxxw.&quot;'><updated>2009-02-1</updated><e><c>\u2028</c></e></feed>");
       var pre = document.createElement('pre');
       pre.appendChild(document.createTextNode(xmlEl.toXMLString()));
       document.body.appendChild(pre);

with no XMLHttpRequest required.  Deleting chars from the string 
sometimes changes the error, and sometimes makes it go away entirely, 
but I bet it can be minimized some more.  If someone wants to take a 
shot at that, great.

This doesn't look like an XML issue, though, but a JS engine one.

-Boris