Closed
Bug 267375
Opened 20 years ago
Closed 20 years ago
Same problem as in resolved bug # 219355 (XML Parsing Error: undefined entity on files with Mime-Type: application/xhtml+xml, including about:, or "text/xml")
Categories
(Core :: XML, defect)
Tracking
()
People
(Reporter: mark.gershkovich, Unassigned)
References
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; {B7231743-DD8A-461E-B4E9-9EDBFF597323}; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
I am experiencing the same problem that was addressed in the bugzilla bug #
219355. When trying to style XML with XSL containing a reference to a DTD
entity, I am getting an error message "XML Parsing Error: undefined entity".
XML:
<?xml version='1.0'?>
<?xml-stylesheet type="text/xsl" href="../../Desktop/Styles/firefoxtest.xsl"?>
<dummy>
test123
</dummy>
XSL:
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet SYSTEM "../../Desktop/loc/AppList.xsl.dtd">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" />
<xsl:template match="/">
<html>
<head>
</head>
<body>
&Help;:<xsl:value-of select="/dummy"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
DTD:
<!ENTITY Help "Help">
Reproducible: Always
Steps to Reproduce:
1.Open the XML file in Mozilla browser
2.
3.
Actual Results:
Received the following error message:
XML Parsing Error: undefined entity
Location: file:///J:/LocaleNeutral/Desktop/Styles/firefoxtest.xsl
Line Number 10, Column 2: &Help;:<xsl:value-of select="/dummy"/>
Expected Results:
Help: test123
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 22942 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•