WWW/2002/ws/ra/edcopies/ws-evt EventingPolicy.xsd,1.1,1.2

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

Modified Files:
	EventingPolicy.xsd 
Log Message:
add correct xsd for policy


Index: EventingPolicy.xsd
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/ws-evt/EventingPolicy.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- EventingPolicy.xsd	5 Oct 2009 12:54:51 -0000	1.1
+++ EventingPolicy.xsd	5 Oct 2009 19:09:17 -0000	1.2
@@ -1,15 +1,64 @@
-<wsevp:EventSource...>
-  <wsevp:DateTimeSupported.../> ?
-  <wsevp:FilterDialect ...> xs:anyURI </wsevp:FilterDialect> * 
-  <wsevp:MaxExpires ...> xs:duration </wsevp:MaxExpires> ? 
-  <wsevp:FormatName ...> xs:anyURI </wsevp:FormatName> * 
-  ...
-</wsevp:EventSource>
+<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">
 
-<wsevp:SubscriptionManager...>
-  <wsevp:DateTimeSupported.../> ?
-  <wsevp:GetStatusOperationSupported.../> ?
-  <wsevp:UnsubscribeOperationSupported.../> ?
-  <wsevp:MaxExpires ...> xs:duration </wsevp:MaxExpires> ? 
-  ...
-</wsevp:SubscriptionManager>
+  <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" processContents="lax"/>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+
+  <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="EventSource">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="DateTimeSupported" type="tns:Empty" minOccurs="0"/>
+        <xs:element name="FilterDialect" type="tns:URI" minOccurs="0"
+                                         maxOccurs="unbounded"/>
+        <xs:element name="MaxExpires" type="tns:Duration" minOccurs="0"/>
+        <xs:element name="FormatName" 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="SubscriptionManager">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="DateTimeSupported" type="tns:Empty" minOccurs="0"/>
+        <xs:element name="GetStatusOperationSupported" type="tns:Empty"
+                                                       minOccurs="0"/>
+        <xs:element name="UnsubscribeOperationSupported" type="tns:Empty"
+                                                         minOccurs="0"/>
+        <xs:element name="MaxExpires" type="tns:Duration" 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 19:09:21 UTC