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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 6 05:11:56 EST 2009


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


           Summary: When XSL output is text, transformation does not
                    output <xsl:text> </xsl:text>
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: lauris at nix.lv
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19

When using XSL transformations to produce plain text file from xml and
<xsl:output method="text"  /> it just skips <xsl:text> </xsl:text> (there is
space between xsl:text tags. If output method would be html it wouldn't metter
but when output is text it does metter! MS .Net framework does output space
while mono just skip these XSL instructions. There is workaround to replace
space with &#x20; than mono produces spaces correctly but I think that mono
should work the same way as MS .Net framework so I think it's a bug.

Reproducible: Always

Steps to Reproduce:
1. Transfrom XML file to plain text file using XSL transformation

Actual Results:  
No space in result file

Expected Results:  
Space in result file

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