[Mono-bugs] [Bug 594628] New: Mono's Xml converts special unicode char  too � �

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 7 19:41:52 EDT 2010



           Summary: Mono's Xml converts special unicode char  too
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=353011)
 --> (http://bugzilla.novell.com/attachment.cgi?id=353011)
Test case the shows .NET/mono difference

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/ Safari/532.5


XmlDocument doc = new XmlDocument();            
doc.InnerXml = "<tr>&#xFFFF;</tr>";

Outputs <tr>&#xD800;&#xDBFF;</tr> on mono and <tr>&#xFFFF;</tr> on .NET

Seems to be converting from specail unicode char 0xFFFF to a surrogate pair?

I know this is very minor, but I thought I would report a mono/.NET difference.

Reproducible: Always

Steps to Reproduce:
Actual Results:  

Expected Results:  

Configure bugmail: http://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