Closed Bug 7853 Opened 25 years ago Closed 25 years ago

CDATA blocks and <!--

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: harishd, Assigned: harishd)

References

()

Details

Refer to the second problem mentioned in Bug# 6749.
Target Milestone: M8
Severity: normal → major
Summary: CDATA blocks: end tags and <!-- ( Refer to Bug# 6749 ) → CDATA blocks and <!--
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.
Note that this problem is very serious, since it prevents the rest of the document from being displayed at all.
Target Milestone: M8 → M10
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.
Status: RESOLVED → VERIFIED
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.