This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6426 - Eventing-Fix Delivery Definition
Summary: Eventing-Fix Delivery Definition
Status: CLOSED REMIND
Alias: None
Product: WS-Resource Access
Classification: Unclassified
Component: Eventing (show other bugs)
Version: FPWD
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Li Li
QA Contact: notifications mailing list for WS Resource Access
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-14 17:47 UTC by Li Li
Modified: 2009-04-21 21:30 UTC (History)
3 users (show)

See Also:


Attachments

Description Li Li 2009-01-14 17:47:04 UTC
The following statement:
Value of /s:Envelope/s:Body/*/wse:Delivery is a single element, wse:NotifyTo, that contains the endpoint reference to which notification messages should be sent.
should be moved to this definition:

	/s:Envelope/s:Body/*/wse:Delivery

Also, the XSD definition for this element:
<xs:complexType name="DeliveryType" mixed="true">
    <xs:sequence>
      <xs:any namespace="##any" processContents="lax" 
              minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
    <xs:attribute name="Mode" type="xs:anyURI" use="optional" />
    <xs:anyAttribute namespace="##other" processContents="lax" />
  </xs:complexType>

should be modified to reflect the statement:
<xs:complexType name="DeliveryType" mixed="true">
    <xs:sequence>
      <xs:element ref="wse:NotifyTo" minOccurs="1" maxOccurs="1" />
    </xs:element>
    <xs:attribute name="Mode" type="xs:anyURI" use="optional" />
    <xs:anyAttribute namespace="##other" processContents="lax" />
  </xs:complexType>
Comment 1 Robert Freund 2009-01-15 22:29:42 UTC
2009-01-15: Action to Li to update proposal
Comment 2 Robert Freund 2009-01-20 21:38:02 UTC
proposal from http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Jan/0047.html

WS-Eventing Section 3.1 has the following statement:
Value of /s:Envelope/s:Body/*/wse:Delivery is a single element, wse:NotifyTo, that contains the endpoint reference to which notification messages should be sent.
It should be changed to:
Value of /s:Envelope/s:Body/*/wse:Delivery contains a single element, wse:NotifyTo, that contains the endpoint reference to which notification messages should be sent.
in order to allow any extension elements in <wse:Delivery>.

The XSD definition for <wse:DeliveryType>:
<xs:complexType name="DeliveryType" mixed="true">
    <xs:sequence>
      <xs:any namespace="##any" processContents="lax" 
              minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
    <xs:attribute name="Mode" type="xs:anyURI" use="optional" />
    <xs:anyAttribute namespace="##other" processContents="lax" />
  </xs:complexType>

should be modified to reflect the statement:
<xs:complexType name="DeliveryType" mixed="true">
    <xs:sequence>
      <xs:element ref="wse: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" />
    <xs:anyAttribute namespace="##other" processContents="lax" />
  </xs:complexType>

Comment 3 Robert Freund 2009-01-20 21:40:48 UTC
proposal from http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Jan/0048.html
WS-Eventing specifies some default values for some attributes, such as @Mode and @Dialect. But these default values are not defined in the XSD. 
We propose to copy these default values to XSD to make the definition complete. The following is a list of default values and their corresponding XSD defaults.

Location: Section 3.1
Description: Implied value is http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryModes/Push
XSD:
<xs:attribute name="Mode" type="xs:anyURI" use="optional" default="http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryModes/Push" />

Location: Section 3.1
Description: Implied value is "http://www.w3.org/TR/1999/REC-xpath-19991116".
XSD:
<xs:attribute name="Dialect" type="xs:anyURI" use="optional" 
default="http://www.w3.org/TR/1999/REC-xpath-19991116" />
Comment 4 Robert Freund 2009-01-20 22:03:33 UTC
(In reply to comment #3)
Ignore Comment #3 as it was applied to the wrong Issue
Comment 5 Robert Freund 2009-02-09 00:05:07 UTC
Awaiting Action-2
Comment 6 Robert Freund 2009-02-16 03:15:22 UTC
Updated proposal at http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Feb/0065.html
Comment 7 Robert Freund 2009-02-23 15:18:36 UTC
resolved 2009-02-17 with Comment #6
Comment 8 Doug Davis 2009-03-09 00:51:51 UTC
in spec