Closed
Bug 6953
Opened 26 years ago
Closed 26 years ago
parser can't handle comments at start of doc
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: waterson, Assigned: nisheeth_mozilla)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
The parser craps out when the first thing in a document is a comment. I've
attached a test file. Remove the comment and everything works fine.
Reporter | ||
Comment 1•26 years ago
|
||
Niseeth -- this is an expat parser bug, so I'm giving it to you. (Nice, huh?)
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 3•26 years ago
|
||
Hey Chris, this is one that I don't have to fix! :-)
It is illegal to start an XML document with anything other than the XML
declaration. The expat parser throws a well-formedness error because it finds
the XML declaration on Line 13 instead of Line 1 of the attached XML document.
If the XML declaration is moved to the beginning of the document, everything
works fine.
I'm marking this bug invalid...
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Verified 1999-06-15-16-M7
You need to log in
before you can comment on or make changes to this bug.
Description
•