If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

xslt processor ignores disable-output-escaping="yes" parameter in <xsl:value-of .../> tag.

RESOLVED INVALID

Status

()

Core
XSLT
--
major
RESOLVED INVALID
15 years ago
15 years ago

People

(Reporter: Maros Ivanco, Assigned: peterv)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

15 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020614
BuildID:    2002061408

xslt processor ignores disable-output-escaping="yes" parameter in <xsl:value-of
.../> tag.

Reproducible: Always
Steps to Reproduce:
1.include in your xml something with escape chars: <smth>&#160</smth>
2.process with <xsl:value-of disable-output-escaping="yes" select="//smth"/> 
3. and see

Actual Results:  &#160;

Expected Results:   (<-- that is, it should print non-breakable space)

Comment 1

15 years ago
so, &#160 isn't an entity. &#160; works fine for me.
Note that Mozilla must not do output escaping, as it doesn't serialize the 
output.
What you really want to see is a non-breaking space, and I see that.
testcase for your pleasure coming up.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID

Comment 2

15 years ago
Created attachment 90055 [details]
stylesheet with long texts and a xsl:value-of inbetween

Comment 3

15 years ago
Created attachment 90056 [details]
xml source linking to above stylesheet, containing a &#160;

note that Mozilla won't break the line between the foooo... and the ba...ar
You need to log in before you can comment on or make changes to this bug.