[Mono-list] bug / missing feature in System.Xml.Serialization.XmlSerializer

Asier Llano Palacios asierllano@infonegocio.com
Fri, 13 Sep 2002 22:24:40 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C25B74.5AC1F5F0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0028_01C25B74.5AC1F5F0"


------=_NextPart_001_0028_01C25B74.5AC1F5F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The attached simple test runs perfectly on the NET Framework, but it
throws an exception with Mono 0.15.=20

I know that XmlSerializer is under development, but the constructor does
not throw this exception under other circunstances.

=20

=BFIs this a bug, a known missing feature ora m I missing something?

=20

Thanks in advance. Sorry about my english.

=20

Asier Llano

=20

=20

=20

P.D.: I think MONO is the greatest development effort I have ever seen.

=20

=20

=20


------=_NextPart_001_0028_01C25B74.5AC1F5F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EstiloCorreo17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 85.05pt 70.85pt 85.05pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DES link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The attached simple test runs perfectly on the NET =
Framework,
but it throws an exception with Mono 0.15. </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I know that XmlSerializer is under development, but =
the
constructor does not throw this exception under other =
circunstances.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>=BFIs this a bug, a known missing feature ora m I =
missing something?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance. Sorry about my =
<u>english</u>.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Asier Llano</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>P.D.: I think MONO is the greatest development effort =
I have
ever seen.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

</body>

</html>

------=_NextPart_001_0028_01C25B74.5AC1F5F0--

------=_NextPart_000_0027_01C25B74.5AC1F5F0
Content-Type: text/plain;
	name="testxml.cs"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="testxml.cs"

=0A=
using System;=0A=
using System.Xml;=0A=
using System.Xml.Serialization;=0A=
=0A=
public class TestXml=0A=
{=0A=
	public static void Main()=0A=
	{=0A=
		XmlSerializer serializer =3D new XmlSerializer( typeof( TestXml ) );=0A=
	}=0A=
=0A=
	[XmlAnyElement]=0A=
	public XmlElement [] XElement;=0A=
}=0A=

------=_NextPart_000_0027_01C25B74.5AC1F5F0--