Closed
Bug 357006
Opened 18 years ago
Closed 17 years ago
ignoring disable-output-escaping="yes" in xsl referenced in xml
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: tomas.houska, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 XSL processor ignores attribute disable-output-escaping="yes" in <xsl:text> node. Not shure if that is a bug, but it is working in MSIE. Reproducible: Always Steps to Reproduce: 1.create plain xml referencing a xsl 2.create xsl holding this node <xsl:text disable-output-escaping="yes">< br / > </xs;:text> 3. load that xml into FireFox like a html site Actual Results: Displays < br /> Expected Results: do the line break Mozilla firefox 1.5.0.7 for windows
Comment 1•18 years ago
|
||
(In reply to comment #0) > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) > Gecko/20060909 Firefox/1.5.0.7 > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) > Gecko/20060909 Firefox/1.5.0.7 > > XSL processor ignores attribute disable-output-escaping="yes" in <xsl:text> > node. > Not shure if that is a bug, but it is working in MSIE. > > Reproducible: Always > > Steps to Reproduce: > 1.create plain xml referencing a xsl > 2.create xsl holding this node > <xsl:text disable-output-escaping="yes">< br / > </xs;:text> > 3. load that xml into FireFox like a html site > > Actual Results: > Displays > < br /> > > Expected Results: > do the line break > > Mozilla firefox 1.5.0.7 for windows > I believe that the example Thomas attached is not really the right description for the bug as the functionality he describes is right. When you want a line break you have to type "< br / >" but when you type "< br / >" you have to get "< br / >" as a text result. So it is not the right example. My example for tihs bug is: I would like to place a non-breaking space into my result page so i place the following text into my xslt file: <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> This works with both Opera and IE6/7 but does not work with Firefox 1.5/2. With Opera I get a non-breaking space in the output but with Firefox I get text result " ". And the cause might be what Thomas discovered: disable-output-escaping="yes" property is ignored.
Comment 2•17 years ago
|
||
I think it is unsupported, not ignored...
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•