Closed Bug 17594 Opened 25 years ago Closed 25 years ago

view source doesn't color end of internal subset properly

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: harishd)

Details

Attachments

(1 file)

DESCRIPTION: view source colors the DOCTYPE green, including all of the internal subset except the final "]>". STEPS TO REPRODUCE: * load attachment * view source RESULTS: * the "]>" on its own line (the 10th) should be green and italic, but it's not. DOES NOT WORK CORRECTLY ON: * Linux, apprunner, 1999-10-29-10-M11
Severity: normal → trivial
Status: NEW → ASSIGNED
Assignee: rickg → harishd
Status: ASSIGNED → NEW
Harish, this bug shows that you're trying to read an XML doctype Decl as a comment. (This clearly cannot work in this case because of the entity def's). We'll have to implement a doctype handler.
Severity: trivial → minor
Not sure if this bug is as trivial as you think. Check out all the CDATA sections in http://www.w3.org/TR/1999/PR-xslt-19991008.xml -- they're all pretty messed-up colorwise.
Blocks: 18471
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Added code to parse DOCTYPE content correctly. Marking FIXED.
Status: RESOLVED → VERIFIED
Verified fixed, 1999-11-22-08-M12.
CDATA sections issue spun off as bug 19923.
No longer blocks: 18471
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: