Closed
Bug 7853
Opened 25 years ago
Closed 25 years ago
CDATA blocks and <!--
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
FIXED
M10
People
(Reporter: harishd, Assigned: harishd)
References
()
Details
Refer to the second problem mentioned in Bug# 6749.
Updated•25 years ago
|
Severity: normal → major
Summary: CDATA blocks: end tags and <!-- ( Refer to Bug# 6749 ) → CDATA blocks and <!--
Comment 1•25 years ago
|
||
The parser is incorrectly parsing CDATA blocks. CDATA blocks should not be
parsed (otherwise they would be called PCDATA blocks). The only thing that
should be recognised in CDATA blocks is ETAGO, i.e.: "</". Markup declarations,
elements, entities (I think) and so on, should not be recognised.
Currently, the following:
<STYLE type="text/x-dwim-styles">
make arrow heads look like '<!--'.
</STYLE>
...turns the rest of the document into a comment, when it should not.
See the test page:
http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/viewsource.html
...which demonstrates these problems in terms of what happens in View Source.
Comment 2•25 years ago
|
||
Note that this problem is very serious, since it prevents the rest of the
document from being displayed at all.
Lots of subleties involved in tackling this bug. Need more time to resolve :(
Moving to M10.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix is in. Treating <SCRIPT> as pure CDATA section. The above URL should be
visible now :) Marking bug fixed.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•25 years ago
|
||
Looks ok to me. Verified with Win32 1999-10-04.
You need to log in
before you can comment on or make changes to this bug.
Description
•