[Mono-dev] [PATCH] System.Web.Services: remove extra documentation item(s) from wsdl

Konstantin Triger kostat at mainsoft.com
Wed Feb 28 02:03:47 EST 2007


Hi Eno,

Currently we output the documentation element twice, for example:
if ((o92.Name == "documentation" && o92.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o92.WriteTo (Writer);
WriteElementLiteral (o92, "", "", false, true);

If the name is not 'documentation' (in our case it's 'wsdl:documentation'), the element is written by WriteTo and WriteElementLiteral.

But if this is auto generated, we need to fix in the xml serialization generator code.

Regards,
Konstantin Triger

> -----Original Message-----
> From: Atsushi Eno [mailto:atsushi at ximian.com]
> Sent: Wednesday, February 28, 2007 7:24 AM
> To: Konstantin Triger
> Cc: Mono Development List
> Subject: Re: [Mono-dev] [PATCH] System.Web.Services: remove extra
> documentation item(s) from wsdl
> 
> What is this patch for?
> 
> At least changing automatically generated sources is not good.
> It is generated by genxs2 and retouched class name and #if NET_2_0.
> 
> Atsushi Eno
> 
> Konstantin Triger wrote:
> > Hello all,
> >
> > Please review the attached patch.
> >
> > Regards,
> > Konstantin Triger
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list