[Mono-bugs] [Bug 438594] Cannot deserialise base64Binary XmlText

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 5 06:19:36 EST 2008


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

User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438594#c1


Atsushi Enomoto <atsushi at ximian.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WORKSFORME




--- Comment #1 from Atsushi Enomoto <atsushi at ximian.com>  2008-11-05 04:19:36 MST ---
Since no repro code is given, I created a small repro by myself and find this
bug report as WORKSFORME. It just works.

using System;
using System.Xml;
using System.Xml.Serialization;

public class Test
{
        [XmlText(DataType="base64Binary")] public byte[] Value;

        public static void Main ()
        {
                XmlSerializer ser = new XmlSerializer (typeof (Test));
                ser.Serialize (Console.Out,
                        new Test () { Value = new byte [] {1,2,3} });
        }
}


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