Closed
Bug 130339
Opened 23 years ago
Closed 23 years ago
Mozilla does not load PUBLIC ENTITIES
Categories
(Core :: XML, defect)
Tracking
()
People
(Reporter: allane, Assigned: hjtoi-bugzilla)
Details
Attachments
(1 file)
515 bytes,
application/xhtml+xml
|
Details |
When using a PUBLIC DOCTYPE document with internal subset declarations of
entities that is referencing an external entity definition (using the % syntax),
the external entities are not loaded.
This should be valid XHTML, as far as I can tell, but Mozilla 0.9.9 barfs. Note
that changing the reference to a SYSTEM resource does not help.
---[begin test0.xhtml]---
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
<!ENTITY % HTMLlat1 PUBLIC
"-//W3C//ENTITIES Latin 1 for XHTML//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
%HTMLlat1;
]>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="Content-Type" content='application/xhtml+xml;
charset=ISO-8859-1' />
</head>
<body>
<p>Test paragraph: ø æ ends. </p>
</body>
</html>
---[end test0.xhtml]---
Reporter | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Mozilla uses a non-validating parser, which is not required to read external
entities. And we don't, except in specific circumstances when the entity is in
the local file system.
The workaround here is to move the entity definitions into the internal subset.
*** This bug has been marked as a duplicate of 69799 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Hardware: PC → Other
Resolution: --- → DUPLICATE
Updated•23 years ago
|
QA Contact: petersen → rakeshmishra
You need to log in
before you can comment on or make changes to this bug.
Description
•