Open Bug 653778 Opened 14 years ago Updated 3 years ago

View source doesn't highlight DTD subset correctly

Categories

(Toolkit :: View Source, defect)

2.0 Branch
defect

Tracking

()

People

(Reporter: da-wgh, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

379 bytes, application/xhtml+xml
Details
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 I've been messing with XHTML files, and tried to declare additional entities. It worked, but when I opened "view source", it was highlighted incorrectly. Reproducible: Always Steps to Reproduce: 1. Open page, which contains complex DTD, with internal subset (example page has been attached) 2. Open "View Page Source" window Actual Results: Entire DTD in the window is red, as if it was incorrect. Expected Results: I expected correct highlight, and I'm sure that page is correct. It uses valid XML features, and passes W3C validator, and XML parsers like expat.
Attached file Example XHTML document
While the value of covering this edge case is IMHO questionable, may it considered in bug 650895?
Depends on: 650895
Component: Developer Tools → View Source
Product: Firefox → Toolkit
QA Contact: developer.tools → view.source
Version: unspecified → 2.0 Branch
Attachment #529144 - Attachment mime type: application/octet-stream → application/xhtml+xml
(In reply to comment #2) > While the value of covering this edge case is IMHO questionable, may it > considered in bug 650895? There's a long road from where we are with bug 650895 to fix this bug. Can't make any promises yet. :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: