Closed Bug 4598 Opened 22 years ago Closed 22 years ago
Can't place '#' in general entity value without escaping
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!
Accepting bug and setting target milestone to M5...
Setting component to XML...
Moving bugs of lower priority to M6...
Moving non-crasher XML bugs to M7...
Changing QA contact to myself
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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.
verified on jun-15-99 build.
You need to log in before you can comment on or make changes to this bug.