Closed Bug 40536 Opened 24 years ago Closed 24 years ago

HTML Doctype gets inserted into XML document stream

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 40552

People

(Reporter: nisheeth_mozilla, Assigned: harishd)

References

Details

Load up the following simple xml document (test.xml):
<test>This content is in an XML document</test>

You'll get the following error:

XML Parsing Error: syntax error
Line Number 1, Column 61,

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
------------------------------------------------------------ ^

This is pretty bizarre because the test.xml document only contains "<test>This 
is content in an XML document.</test>".
Blocks: 40034
I also see this error on Linux 2000-05-24-08 (and a similar error with
2000-05-10-12). Changing OS->All.
OS: Windows NT → All
Yup, I introduced this bug..yuck.  Accepting bug.
Status: NEW → ASSIGNED
Target Milestone: --- → M17

*** This bug has been marked as a duplicate of 40552 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
The bug this was marked a duplicate of has been marked FIXED, and I'm not seeing
this anymore under Linux build 2000103121. Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.