[Mono-bugs] [Bug 360858] New: XElement.Value needs to be de-escaped

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 11 19:59:00 EST 2008


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


           Summary: XElement.Value needs to be de-escaped
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The following program produces incorrect output:

using System;
using System.Xml.Linq;

class Class1
{
    static void Main()
    {
        XElement a = new XElement("root",
                                  "Linux&Windows");

        Console.WriteLine (a);
        Console.WriteLine (a.Value);
    }
}


It currently displays:
<root>Linux&amp;Windows</root>
Linux&amp;Windows

It should display:
<root>Linux&Windows</root>
Linux&Windows


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