- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 26 May 2005 16:24:32 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20 In directory hutz:/tmp/cvs-serv28110/wsdl20 Modified Files: wsdl20.xsd Log Message: Added documentation to describe why the name attribute of ServiceType and Endpoint is optional in the schema. Index: wsdl20.xsd =================================================================== RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20.xsd,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** wsdl20.xsd 26 May 2005 15:52:10 -0000 1.29 --- wsdl20.xsd 26 May 2005 16:24:30 -0000 1.30 *************** *** 366,370 **** <xs:any namespace='##other' processContents='lax' /> </xs:choice> ! <xs:attribute name='name' type='xs:NCName' use='optional' /> <xs:attribute name='interface' type='xs:QName' use='required' /> </xs:extension> --- 366,390 ---- <xs:any namespace='##other' processContents='lax' /> </xs:choice> ! <xs:attribute name='name' type='xs:NCName' use='optional'> ! <xs:annotation> ! <xs:documentation> ! Note that ServiceType, which is the XML Schema ! complex type of the element information item service ! as defined in the WSDL 2.0 schema, MAY be used as ! the basis for defining new elements which can be ! used as service references in message exchanges. In ! the case that the message contains a reference to a ! service that implements a known interface, an ! element whose type restricts the complex type ! ServiceType to have a fixed value for the attribute ! information item interface MAY be used. To enable ! such reuse, the WSDL 2.0 schema defines the ! attribute information item name as optional in ! complex type ServiceType , while it is REQUIRED for ! the element information item service as indicated ! above. ! </xs:documentation> ! </xs:annotation> ! </xs:attribute> <xs:attribute name='interface' type='xs:QName' use='required' /> </xs:extension> *************** *** 381,385 **** <xs:any namespace='##other' processContents='lax' /> </xs:choice> ! <xs:attribute name='name' type='xs:NCName' use='optional' /> <xs:attribute name='binding' type='xs:QName' use='required' /> <xs:attribute name='address' type='xs:anyURI' use='optional' /> --- 401,425 ---- <xs:any namespace='##other' processContents='lax' /> </xs:choice> ! <xs:attribute name='name' type='xs:NCName' use='optional'> ! <xs:annotation> ! <xs:documentation> ! Note that EndpointType, which is the XML Schema ! complex type of the element information item ! endpoint as defined in the WSDL 2.0 schema, MAY be ! used as the basis for defining new elements which ! can be used as endpoint references in message ! exchanges. In the case that the message contains a ! reference to an endpoint that implements a known ! binding, an element whose type restricts the complex ! type EndpointType to have a fixed value for the ! attribute information item binding MAY be used. To ! enable such reuse, the WSDL 2.0 schema defines the ! attribute information item name as optional in ! complex type EndpointType , while it is REQUIRED for ! the element information item endpoint as indicated ! above. ! </xs:documentation> ! </xs:annotation> ! </xs:attribute> <xs:attribute name='binding' type='xs:QName' use='required' /> <xs:attribute name='address' type='xs:anyURI' use='optional' />
Received on Thursday, 26 May 2005 16:24:34 UTC