Closed
Bug 4598
Opened 26 years ago
Closed 25 years ago
Can't place '#' in general entity value without escaping
Categories
(Core :: XML, defect, P3)
Core
XML
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: tao, Assigned: nisheeth_mozilla)
Details
I am playing with the xpat parser and notice that it failed to substitutes a
text string containing "#0".
For example, the following usage of entity would cause parsing error.
<!ENTITY demo0 "Demo #0" >
<button name="&demo;" >
But, the pareser takes this:
<!ENTITY demo0 "Demo #0" >
<button name="&demo;" >
Works fine in standalone expat!
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M5
Assignee | ||
Comment 1•26 years ago
|
||
Accepting bug and setting target milestone to M5...
Assignee | ||
Updated•26 years ago
|
Component: Apprunner → XML
Assignee | ||
Comment 2•26 years ago
|
||
Setting component to XML...
Assignee | ||
Updated•25 years ago
|
Target Milestone: M5 → M6
Assignee | ||
Comment 3•25 years ago
|
||
Moving bugs of lower priority to M6...
Assignee | ||
Comment 4•25 years ago
|
||
Moving non-crasher XML bugs to M7...
Assignee | ||
Updated•25 years ago
|
Target Milestone: M6 → M7
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•25 years ago
|
||
Here's what I tried to load up in viewer, on a 1 day old NT build:
<?xml version="1.0" ?>
<!DOCTYPE test [
<!ENTITY demo0 "Demo #0">
]>
<test name="&demo0;">
Content of demo0 = '&demo0;'
</test>
---
The above test parsed with no problem and the content of the entity also
displayed correctly. Marking bug fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•