[Mono-bugs] [Bug 349375] Something fish with stripping of spaces in XSLT processing

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 18 06:34:37 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=349375

User tlillqvist at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=349375#c4





--- Comment #4 from Tor Lillqvist <tlillqvist at novell.com>  2007-12-18 04:34:37 MST ---
The table "Default Whitespace Handling in Managed Applications" on the page
http://msdn2.microsoft.com/en-us/library/aa468566.aspx says, if I understand
correctly, that when XslCompiledTransform.Transform() is passed an XmlReader,
the whitespace behaviour when constructing the XPathDocument from the XmlReader
should be Preserve. 

Just changing that does seem to fix the test case in the sense that the <t>
element with a single space as contents (which is crucial in the actual use
case this bug wants to fix) is produced. But, we also get lots of other,
irrelevant, whitespace in the output.... I think there might be some bug also
in the handling of a stylesheet having both xsl:strip-space and
xsl:preserve-space elements.


-- 
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