W3C home > Mailing lists > Public > www-ws-desc@w3.org > February 2004

RE: [wsdl] WSDL v2.0 Schema Error

From: Martin Gudgin <mgudgin@microsoft.com>
Date: Wed, 11 Feb 2004 07:46:50 -0800
Message-ID: <DD35CC66F54D8248B6E04232892B633801268001@RED-MSG-43.redmond.corp.microsoft.com>
To: "Anne Thomas Manes" <anne@manes.net>, <www-ws-desc@w3.org>

This problem is now fixed ( the problem occurred for both interface and
service elements ). However, a larger problem exists...

The content model of wsdl:definitions is non-deterministic. I notice it
has been this way since the substitution group based extensibility was
removed on 2003-08-04. I note in passing that one of the reasons we went
with substitution groups was that it gave us a deterministic
content-model. The only fix I can see given the current grammer is to
change the content model of wsdl:definitions to be <xs:any
namespace='##any' minOccurs='0' maxOccurs='unbounded' />, which doesn't
capture any of the contraints regarding wsdl:include, wsdl:import,
wsdl:types, but there you go!

Gudge

> -----Original Message-----
> From: www-ws-desc-request@w3.org 
> [mailto:www-ws-desc-request@w3.org] On Behalf Of Anne Thomas Manes
> Sent: 11 February 2004 05:33
> To: www-ws-desc@w3.org
> Subject: Fwd: [wsdl] WSDL v2.0 Schema Error
> 
> 
> FYI:
> 
> >To: wsdl@yahoogroups.com
> >From: "wmatthewlong" <mlong@bridgetonconsulting.com>
> >Date: Tue, 10 Feb 2004 21:41:23 -0000
> >Subject: [wsdl] WSDL v2.0 Schema Error
> >
> >Jeff et.al.,
> >
> >I've noticed the WSDL v2.0 schema is using a 'unique' within 
> an element 
> >information item encoded with a 'ref' attribute. I believe 
> this invalid 
> >schema.  I would think that 'unique' is required to be used in the 
> >actual element definition, i.e., where element is encoded 
> with 'name' 
> >attribute.  Am I correct?
> >
> >
> >Example of v2.0 schema(below)
> >
> ><xs:element ref="tns:interface">
> >   <xs:unique name="operation">
> >     <xs:selector xpath="wsdl:operation" />
> >     <xs:field xpath="@name" />
> >   </xs:unique>
> ></xs:element>
> >
> >Thx,
> >
> >-Matt Long
> >Phalanx Systems, LLC
> >
> >
> >
> >
> >
> >-----------------------------------------------------------------
> >This group is a forum for the discussion of the WSDL 
> specification and 
> >its implementation.  Please stay on-topic.
> >Yahoo! Groups Links
> >
> ><*> To visit your group on the web, go to:
> >      http://groups.yahoo.com/group/wsdl/
> >
> ><*> To unsubscribe from this group, send an email to:
> >      wsdl-unsubscribe@yahoogroups.com
> >
> ><*> Your use of Yahoo! Groups is subject to:
> >      http://docs.yahoo.com/info/terms/
> >
> 
> ~~~~~~~~~~~~~~~~~~
> Anne Thomas Manes
> VP & Research Director
> Burton Group 
> 
> 
Received on Wednesday, 11 February 2004 10:47:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:02 UTC