Closed
Bug 231753
Opened 22 years ago
Closed 22 years ago
disable-output-escaping is not implemented
Categories
(Core :: XSLT, defect)
Tracking
()
People
(Reporter: vince.hall, Assigned: peterv)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
The disable-output-escaping attribute of xml:text does not appear to be implemented.
Reproducible: Always
Steps to Reproduce:
1.Create the test.xml file (paste details from additional information)
2.Create the test.xsl file " " " " "
3.Open the test.xml file
Actual Results:
The following is displayed in the browser window
<h1>vince</h1>
Expected Results:
I expacted "vince" to be displayed in Heading 1 format
Content of test.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<data>
<name>vince</name>
</data>
Content of test.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/">
<html>
<head><title>Test</title></head>
<body>
<xsl:text disable-output-escaping="yes">
<h1>
</xsl:text>
<xsl:value-of select="/data/name"/>
<xsl:text disable-output-escaping="yes">
</h1>
</xsl:text>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Comment 1•22 years ago
|
||
DUPE of WONTFIX
*** This bug has been marked as a duplicate of 98168 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 2•22 years ago
|
||
Vince, out-of-curiosity, why not just change your stylesheet to:
<h1><xsl:value-of select="/data/name"/></h1>
You need to log in
before you can comment on or make changes to this bug.
Description
•