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

Atsushi Eno atsushi at ximian.com
Wed Feb 28 03:42:53 EST 2007


Hi Kosta,

Konstantin Triger wrote:
> 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.

With your hint it was easy to fixed it (I think I fixed it :-)
Can you please check if it works for you?

Atsushi Eno



More information about the Mono-devel-list mailing list