https://bugzilla.novell.com/show_bug.cgi?id=482755
User [email protected] added comment https://bugzilla.novell.com/show_bug.cgi?id=482755#c4 --- Comment #4 from Lauris Bukšis-Haberkorns <[email protected]> 2009-03-18 02:27:21 MST --- [code] <?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <root> <xsl:text>[</xsl:text> <xsl:text> </xsl:text> <xsl:text>]</xsl:text> </root> </xsl:template> </xsl:stylesheet> [/code] 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 tree. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
