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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to