Hello Atsushi,

 

I’ve found that your fix in PreserveWhitespace() method in System.Xml\Mono.Xml.Xsl\XslTransformProcessor.cs (rev. 41620) causes some different behavior from .net. Some white spaces are omitted in the transform result.

 

What do you think about it?

See attached sample that reproduces the difference.

 

Vladimir Krasnov

<doc>
    <entry name="XML"> 
        Extensible Markup language
        <details> Great stuffs </details>
    </entry>
    <entry name="XSLT"> 
        eXtensible Stylesheet and Transformation language
        <details> Great stuffs </details>
    </entry>
    <entry name="XPATH"> 
        X Path Language
        <details> Great stuffs </details>
    </entry>
</doc>
<doc>
    <bibref>XML</bibref>
    <bibref>XSLT </bibref>
    <bibref>XPATH</bibref>
    <bibref>XSD</bibref>
</doc>

Attachment: 91834.xsl
Description: 91834.xsl

Attachment: Class1.cs
Description: Class1.cs

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to