Closed
Bug 308701
Opened 19 years ago
Closed 19 years ago
E4X XML constructor does not like xml declaration
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 290525
People
(Reporter: boogs, Unassigned)
Details
Attachments
(1 file)
199 bytes,
text/html
|
Details |
<?xml version="1.0"?> kills the XML(<string>) constructor. Not sure if this is per the spec or not, but it makes it difficult to work with XML generated by other systems since the declaration is always present.
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
invalid. see bug 277683 comment 8 please don't request unneeded privileges in attachments.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Comment 3•19 years ago
|
||
See bug 277683 comment 9 too -- I'm sympathetic, it looks like ECMA-357 blew it here, and for no good reason other than specifying in terms of wrapping that darn <parent xmlns="...">...</parent> tag around the string to be parsed as XML. /be
Reporter | ||
Comment 4•19 years ago
|
||
nbd, nothing a little regex couldn't fix. Thank god moz has perl5 regexes with ungreedy quantifiers.
Updated•19 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 5•19 years ago
|
||
*** This bug has been marked as a duplicate of 290525 ***
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•