[Mono-bugs] [Bug 482755] When XSL output is text, transformation does not output <xsl:text> </xsl:text>

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 18 04:27:23 EDT 2009


User lauris at nix.lv added comment

--- Comment #4 from Lauris Bukšis-Haberkorns <lauris at nix.lv>  2009-03-18 02:27:21 MST ---
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <xsl:text> </xsl:text>

Should result in "<root>[ ]</root>".

When using mono current result is "<root>[]</root>".

In your example .Net striped space because space alone is still striped in
output (following all rules) but it does not mean that it stripped it from
stylesheet document tree.
Whitespace-only xsl:text nodes should not be stripped from stylesheet document

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list