WWW/2002/ws/ra/edcopies/ws-enu EnumerationPolicy.xsd,1.1,1.2

Update of /w3ccvs/WWW/2002/ws/ra/edcopies/ws-enu
In directory hutz:/tmp/cvs-serv24855/ws-enu

Modified Files:
	EnumerationPolicy.xsd 
Log Message:
add correct policy xsd


Index: EnumerationPolicy.xsd
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/ws-enu/EnumerationPolicy.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- EnumerationPolicy.xsd	5 Oct 2009 09:48:42 -0000	1.1
+++ EnumerationPolicy.xsd	5 Oct 2009 18:22:01 -0000	1.2
@@ -1,8 +1,51 @@
-<wsenp:Enumeration [wsp:Optional="xs:boolean"]? ...>
- <wsenp:FilterDialect ...> xs:anyURI </wsenp:FilterDialect> * 
- <wsenp:MaxExpires ...> xs:duration </wsenp:MaxExpires> ? 
- <wsenp:MaxTime ...> xs:duration </wsenp:MaxTime> ? 
- <wsenp:MaxElements ...> xs:long </wsenp:MaxElements> ? 
- <wsenp:MaxCharacters ...> xs:long </wsenp:MaxCharacters> ?
- ...
-</wsenp:Enumeration>
+<xs:schema
+    targetNamespace="http://www.w3.org/2009/09/ws-enp"
+    xmlns:tns="http://www.w3.org/2009/09/ws-enp"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    elementFormDefault="qualified"
+    blockDefault="#all">
+
+  <xs:import namespace="http://www.w3.org/XML/1998/namespace"
+    schemaLocation="http://www.w3.org/2001/xml.xsd" />
+
+  <xs:complexType name="Duration">
+   <xs:simpleContent>
+    <xs:extension base="xs:duration">
+     <xs:anyAttribute namespace="##other"/>
+    </xs:extension>
+   </xs:simpleContent>
+  </xs:complexType>
+
+  <xs:complexType name="URI">
+   <xs:simpleContent>
+    <xs:extension base="xs:anyURI">
+     <xs:anyAttribute namespace="##other"/>
+    </xs:extension>
+   </xs:simpleContent>
+  </xs:complexType>
+
+  <xs:complexType name="Long">
+   <xs:simpleContent>
+    <xs:extension base="xs:long">
+     <xs:anyAttribute namespace="##other"/>
+    </xs:extension>
+   </xs:simpleContent>
+  </xs:complexType>
+
+  <xs:element name="Enumeration">
+   <xs:complexType>
+    <xs:sequence>
+     <xs:element name="FilterDialect" type="tns:URI" minOccurs="0" 
+                                                     maxOccurs="unbounded"/>
+     <xs:element name="MaxExpires" type="tns:Duration" minOccurs="0"/>
+     <xs:element name="MaxTime" type="tns:Duration" minOccurs="0"/>
+     <xs:element name="MaxElements" type="tns:Long" minOccurs="0"/>
+     <xs:element name="MaxCharacters" type="tns:Long" minOccurs="0"/>
+     <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 18:22:07 UTC