- From: Doug Davis via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 05 Oct 2009 19:09:20 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies/ws-tra In directory hutz:/tmp/cvs-serv29838/ws-tra Modified Files: TransferPolicy.xsd Log Message: add correct xsd for policy Index: TransferPolicy.xsd =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/ws-tra/TransferPolicy.xsd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- TransferPolicy.xsd 5 Oct 2009 14:03:58 -0000 1.1 +++ TransferPolicy.xsd 5 Oct 2009 19:09:18 -0000 1.2 @@ -1,13 +1,53 @@ -<wstrp:TransferResource [wsp:Optional="xs:boolean"]? ...> - <wstrp:PutOperationSupported .../> ? - <wstrp:DeleteOperationSupported .../> ? - <wstrp:FaultOnPutDenied.../> ? - <wstrp:Dialect ...> xs:anyURI </wstrp:Dialect> * - ... -</wstrp:TransferResource> +<xs:schema + targetNamespace="http://www.w3.org/2009/09/ws-evp" + xmlns:tns="http://www.w3.org/2009/09/ws-evp" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + blockDefault="#all"> -<wstrp:TransferResourceFactory [wsp:Optional="xs:boolean"]? ...> - <wstrp:Dialect ...> xs :anyURI </wstrp:Dialect> * - ... -</wstrp:TransferResourceFactory> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="http://www.w3.org/2001/xml.xsd" /> + + <xs:complexType name="URI"> + <xs:simpleContent> + <xs:extension base="xs:anyURI"> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:complexType name="Empty"> + <xs:sequence/> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + <xs:element name="TransferResource"> + <xs:complexType> + <xs:sequence> + <xs:element name="PutOperationSupported" type="tns:Empty" + minOccurs="0"/> + <xs:element name="DeleteOperationSupported" type="tns:Empty" + minOccurs="0"/> + <xs:element name="FaultOnPutDenied" type="tns:Empty" minOccurs="0"/> + <xs:element name="Dialect" type="tns:URI" minOccurs="0" + maxOccurs="unbounded"/> + <xs:any namespace="##other" processContents="lax" minOccurs="0" + maxOccurs="unbounded"/> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <xs:element name="TransferResourceFactory"> + <xs:complexType> + <xs:sequence> + <xs:element name="Dialect" type="tns:URI" minOccurs="0" + maxOccurs="unbounded"/> + <xs:any namespace="##other" processContents="lax" minOccurs="0" + maxOccurs="unbounded"/> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + +</xs:schema>
Received on Monday, 5 October 2009 19:09:23 UTC