- From: Katy Warr via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 13 May 2009 13:39:53 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies/ws-evt In directory hutz:/tmp/cvs-serv14662 Modified Files: eventing.xsd Log Message: Fixed schema validation xs:any -> xs:other Index: eventing.xsd =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/ws-evt/eventing.xsd,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- eventing.xsd 13 May 2009 13:26:20 -0000 1.9 +++ eventing.xsd 13 May 2009 13:39:51 -0000 1.10 @@ -1,228 +1,228 @@ -<xs:schema - targetNamespace="http://www.w3.org/2009/02/ws-evt" - xmlns:tns="http://www.w3.org/2009/02/ws-evt" - xmlns:wsa="http://www.w3.org/2005/08/addressing" - 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:import - namespace="http://www.w3.org/2005/08/addressing" - schemaLocation="http://www.w3.org/2005/08/addressing/ws-addr.xsd" /> - - <!-- Types and global elements --> - <xs:complexType name="DeliveryType" mixed="true"> - <xs:sequence> - <xs:element ref="tns:NotifyTo" minOccurs="0" maxOccurs="1" /> - <xs:any namespace="##any" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:attribute name="Mode" type="xs:anyURI" use="optional" - default="http://http://www.w3.org/2009/02/ws-evt/DeliveryModes/Push" /> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - - <xs:complexType name="FormatType" mixed="true"> - <xs:sequence> - <xs:any namespace="##any" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:attribute name="Name" type="xs:anyURI" use="optional" - default="http://http://www.w3.org/2009/02/ws-evt/DeliveryFormats/Unwrap" /> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - - <xs:simpleType name="NonNegativeDurationType"> - <xs:restriction base="xs:duration"> - <xs:minInclusive value="P0Y0M0DT0H0M0S" /> - </xs:restriction> - </xs:simpleType> - - <xs:simpleType name="ExpirationType"> - <xs:union memberTypes="xs:dateTime - tns:NonNegativeDurationType" /> - </xs:simpleType> - - <xs:complexType name="FilterType" mixed="true"> - <xs:sequence> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:attribute name="Dialect" type="xs:anyURI" use="optional" - default="http://www.w3.org/TR/1999/REC-xpath-19991116" /> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - - <xs:complexType name="LanguageSpecificStringType"> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute ref="xml:lang" /> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - - <xs:element name="NotifyTo" type="wsa:EndpointReferenceType" /> - - <!-- Subscribe request --> - <xs:element name="Subscribe"> - <xs:complexType> - <xs:sequence> - <xs:element name="EndTo" type="wsa:EndpointReferenceType" - minOccurs="0" /> - <xs:element name="Delivery" type="tns:DeliveryType" /> - <xs:element name="Format" type="tns:FormatType" /> - <xs:element name="Expires" type="tns:ExpirationType" - minOccurs="0" /> - <xs:element name="Filter" type="tns:FilterType" - 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:element name="Identifier" type="xs:anyURI" /> - - <!-- Subscribe response --> - <xs:element name="SubscribeResponse"> - <xs:complexType> - <xs:sequence> - <xs:element name="SubscriptionManager" - type="wsa:EndpointReferenceType" /> - <xs:element name="Expires" type="tns:ExpirationType" /> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- Used in a fault if there's an unsupported dialect --> - <xs:element name="SupportedDialect" type="xs:anyURI" /> - - <!-- Used in a fault if there's an unsupported delivery mode --> - <xs:element name="SupportedDeliveryMode" type="xs:anyURI" /> - - <!-- Used in a fault if there's an unsupported format name --> - <xs:element name="SupportedDeliveryFormat" type="xs:anyURI" /> - - <!-- Renew request --> - <xs:element name="Renew"> - <xs:complexType> - <xs:sequence> - <xs:element name="Expires" type="tns:ExpirationType" - minOccurs="0" /> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- Renew response --> - <xs:element name="RenewResponse"> - <xs:complexType> - <xs:sequence> - <xs:element name="Expires" type="tns:ExpirationType" - minOccurs="0" /> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- GetStatus request --> - <xs:element name="GetStatus"> - <xs:complexType> - <xs:sequence> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- GetStatus response --> - <xs:element name="GetStatusResponse"> - <xs:complexType> - <xs:sequence> - <xs:element name="Expires" type="tns:ExpirationType" - minOccurs="0" /> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- Unsubscribe request --> - <xs:element name="Unsubscribe"> - <xs:complexType> - <xs:sequence> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- Unsubscribe response --> - <xs:element name="UnsubscribeResponse"> - <xs:complexType> - <xs:sequence> - <xs:any namespace="##other" processContents="lax" - minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:complexType> - </xs:element> - - <!-- SubscriptionEnd message --> - <xs:element name="SubscriptionEnd"> - <xs:complexType> - <xs:sequence> - <xs:element name="Status" - type="tns:OpenSubscriptionEndCodeType" /> - <xs:element name="Reason" - type="tns:LanguageSpecificStringType" - 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:simpleType name="SubscriptionEndCodeType"> - <xs:restriction base="xs:anyURI"> - <xs:enumeration value= - "http://www.w3.org/2009/02/ws-evt/DeliveryFailure" /> - <xs:enumeration value= - "http://www.w3.org/2009/02/ws-evt/SourceShuttingDown" /> - <xs:enumeration value= - "http://www.w3.org/2009/02/ws-evt/SourceCancelling" /> - </xs:restriction> - </xs:simpleType> - - <xs:simpleType name="OpenSubscriptionEndCodeType"> - <xs:union memberTypes="tns:SubscriptionEndCodeType xs:anyURI" /> - </xs:simpleType> - - <!-- RetryAfter Fault Detail Element --> - <xs:element name="RetryAfter" type="tns:RetryAfterType"/> - <xs:complexType name="RetryAfterType"> - <xs:simpleContent> - <xs:extension base="xs:nonNegativeInteger"> - <xs:anyAttribute namespace="##other" processContents="lax" /> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - - <xs:attribute name="EventSource" type="xs:boolean" /> -</xs:schema> +<xs:schema + targetNamespace="http://www.w3.org/2009/02/ws-evt" + xmlns:tns="http://www.w3.org/2009/02/ws-evt" + xmlns:wsa="http://www.w3.org/2005/08/addressing" + 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:import + namespace="http://www.w3.org/2005/08/addressing" + schemaLocation="http://www.w3.org/2005/08/addressing/ws-addr.xsd" /> + + <!-- Types and global elements --> + <xs:complexType name="DeliveryType" mixed="true"> + <xs:sequence> + <xs:element ref="tns:NotifyTo" minOccurs="0" maxOccurs="1" /> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:attribute name="Mode" type="xs:anyURI" use="optional" + default="http://http://www.w3.org/2009/02/ws-evt/DeliveryModes/Push" /> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + + <xs:complexType name="FormatType" mixed="true"> + <xs:sequence> + <xs:any namespace="##any" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:attribute name="Name" type="xs:anyURI" use="optional" + default="http://http://www.w3.org/2009/02/ws-evt/DeliveryFormats/Unwrap" /> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + + <xs:simpleType name="NonNegativeDurationType"> + <xs:restriction base="xs:duration"> + <xs:minInclusive value="P0Y0M0DT0H0M0S" /> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="ExpirationType"> + <xs:union memberTypes="xs:dateTime + tns:NonNegativeDurationType" /> + </xs:simpleType> + + <xs:complexType name="FilterType" mixed="true"> + <xs:sequence> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:attribute name="Dialect" type="xs:anyURI" use="optional" + default="http://www.w3.org/TR/1999/REC-xpath-19991116" /> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + + <xs:complexType name="LanguageSpecificStringType"> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute ref="xml:lang" /> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="NotifyTo" type="wsa:EndpointReferenceType" /> + + <!-- Subscribe request --> + <xs:element name="Subscribe"> + <xs:complexType> + <xs:sequence> + <xs:element name="EndTo" type="wsa:EndpointReferenceType" + minOccurs="0" /> + <xs:element name="Delivery" type="tns:DeliveryType" /> + <xs:element name="Format" type="tns:FormatType" /> + <xs:element name="Expires" type="tns:ExpirationType" + minOccurs="0" /> + <xs:element name="Filter" type="tns:FilterType" + 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:element name="Identifier" type="xs:anyURI" /> + + <!-- Subscribe response --> + <xs:element name="SubscribeResponse"> + <xs:complexType> + <xs:sequence> + <xs:element name="SubscriptionManager" + type="wsa:EndpointReferenceType" /> + <xs:element name="Expires" type="tns:ExpirationType" /> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- Used in a fault if there's an unsupported dialect --> + <xs:element name="SupportedDialect" type="xs:anyURI" /> + + <!-- Used in a fault if there's an unsupported delivery mode --> + <xs:element name="SupportedDeliveryMode" type="xs:anyURI" /> + + <!-- Used in a fault if there's an unsupported format name --> + <xs:element name="SupportedDeliveryFormat" type="xs:anyURI" /> + + <!-- Renew request --> + <xs:element name="Renew"> + <xs:complexType> + <xs:sequence> + <xs:element name="Expires" type="tns:ExpirationType" + minOccurs="0" /> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- Renew response --> + <xs:element name="RenewResponse"> + <xs:complexType> + <xs:sequence> + <xs:element name="Expires" type="tns:ExpirationType" + minOccurs="0" /> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- GetStatus request --> + <xs:element name="GetStatus"> + <xs:complexType> + <xs:sequence> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- GetStatus response --> + <xs:element name="GetStatusResponse"> + <xs:complexType> + <xs:sequence> + <xs:element name="Expires" type="tns:ExpirationType" + minOccurs="0" /> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- Unsubscribe request --> + <xs:element name="Unsubscribe"> + <xs:complexType> + <xs:sequence> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- Unsubscribe response --> + <xs:element name="UnsubscribeResponse"> + <xs:complexType> + <xs:sequence> + <xs:any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded" /> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:complexType> + </xs:element> + + <!-- SubscriptionEnd message --> + <xs:element name="SubscriptionEnd"> + <xs:complexType> + <xs:sequence> + <xs:element name="Status" + type="tns:OpenSubscriptionEndCodeType" /> + <xs:element name="Reason" + type="tns:LanguageSpecificStringType" + 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:simpleType name="SubscriptionEndCodeType"> + <xs:restriction base="xs:anyURI"> + <xs:enumeration value= + "http://www.w3.org/2009/02/ws-evt/DeliveryFailure" /> + <xs:enumeration value= + "http://www.w3.org/2009/02/ws-evt/SourceShuttingDown" /> + <xs:enumeration value= + "http://www.w3.org/2009/02/ws-evt/SourceCancelling" /> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="OpenSubscriptionEndCodeType"> + <xs:union memberTypes="tns:SubscriptionEndCodeType xs:anyURI" /> + </xs:simpleType> + + <!-- RetryAfter Fault Detail Element --> + <xs:element name="RetryAfter" type="tns:RetryAfterType"/> + <xs:complexType name="RetryAfterType"> + <xs:simpleContent> + <xs:extension base="xs:nonNegativeInteger"> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:attribute name="EventSource" type="xs:boolean" /> +</xs:schema>
Received on Wednesday, 13 May 2009 13:40:02 UTC