W3C home > Mailing lists > Public > www-ws-desc@w3.org > September 2002

RE: Broken schema example in WSDL 1.2

From: Martin Gudgin <mgudgin@microsoft.com>
Date: Thu, 5 Sep 2002 07:29:14 -0700
Message-ID: <92456F6B84D1324C943905BEEAE0278E02682352@RED-MSG-10.redmond.corp.microsoft.com>
To: "Jean-Jacques Moreau" <moreau@crf.canon.fr>, "Web Service Description" <www-ws-desc@w3.org>

Isn't it in the binding spec? whatever, the fix is as follows

Add 

<sequence>
  <any namespace="##any" minOccurs="0" maxOccurs="unbounded"
processContents="lax" /> 
</sequence>

inside the <restriction> element, before the attribute declaration

Gudge

> -----Original Message-----
> From: Jean-Jacques Moreau [mailto:moreau@crf.canon.fr] 
> Sent: 05 September 2002 14:42
> To: Web Service Description
> Subject: Re: Broken schema example in WSDL 1.2
> 
> 
> 
> Sounds like a new issue for part 1.
> 
> Jean-Jacques.
> 
> > To: public-ws-desc-comments@w3.org
> > From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
> > Date: 18 Jul 2002 12:20:23 +0100
> > Message-ID: <f5b1ya1705k.fsf@cogsci.ed.ac.uk>
> > Subject: Broken schema example in WSDL 1.2
> > 
> > 
> > The schema in example 3, section 2.1 [1], is broken -- it will not 
> > allow any content in the output, because the ArrayOfFloat type 
> > restricts soapenc:Array to have empty content.
> > 
> > This is an egregious error, easy to fix, and persists from previous
> > versions: if you need help from the Schema WG I'm sure we'd 
> be glad to 
> > provide it if asked.
> > 
> > ht
> > [1] http://www.w3.org/TR/2002/WD-wsdl12-bindings-20020709/#_soap-e
> > -- 
> >   Henry S. Thompson, HCRC Language Technology Group, 
> University of Edinburgh
> >           W3C Fellow 1999--2002, part-time member of W3C Team
> >      2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 
> 131 650-4440
> > 	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
> > 		     URL: http://www.ltg.ed.ac.uk/~ht/
> >  [mail really from me _always_ has this .sig -- mail without it is 
> > forged spam]
> > 
> 
> 
Received on Thursday, 5 September 2002 10:29:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:21 GMT