Open Bug 825415 Opened 12 years ago Updated 2 years ago

Wrong XML entity interpretation

Categories

(Toolkit :: View Source, defect)

17 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: accelerate9, Unassigned)

Details

Attachments

(1 file)

Attached image The Pruf
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20121201125707 Steps to reproduce: Open source of XML document: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE chapter[ <!ENTITY plainEntity "FOO entity"> ]> <chapter> <TITLE>Title &plainEntity;</TITLE> &systemEntity; <section id="about"> <title>About this Document</title> <para> <!-- this is a comment --> Hello! </para> </section> </chapter> and place cursor under &plainEntity Actual results: saw wrong hint, because plainEntity was declared above. Expected results: The "&" symbol near "plainEntity" should not be highlighted like error.
the problem is not solved by removing unresolved entity &systemEntity; from XML
Component: Untriaged → View Source
Product: Firefox → Toolkit
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: