https://bugzilla.novell.com/show_bug.cgi?id=336625#c1





--- Comment #1 from Atsushi Enomoto <[EMAIL PROTECTED]>  2007-10-25 07:58:25 
MST ---
One simplified testcase:

using System;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;

public class Test
{
        [XmlElement (DataType = "duration")]
        public string StringDuration = "aaa";

        public static void Main ()
        {
                XmlSerializer ser = new XmlSerializer (typeof (Test));
                string s = "<Test
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'><StringDuration>aaa</StringDuration></Test>";
                using (XmlWriter w = XmlWriter.Create (Console.Out))
                        ser.Serialize (w, new Test ());
                XmlReader r = XmlReader.Create (new StringReader (s));
                ser.Deserialize (r);
        }
}


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