<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='xmlspec.xsl'?>
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.1//EN" "xmlspec.dtd" [
<!ENTITY % entities SYSTEM "entitieswd.dtd" >
%entities;
<!ENTITY status "&wsevd.status;" >
<!ENTITY short-status "&wsevd.short-status;" >
 ]>

<spec w3c-doctype="&wsevd.w3c-doctype;" role="&wsevd.role;">
 <header>
  <title>&wsevd.name;</title>
  <w3c-designation>&wsevd.w3c-designation;</w3c-designation>
  <w3c-doctype>&wsevd.status;</w3c-doctype>
  <pubdate>
   <day>&wsevd.day;</day>
   <month>&wsevd.month;</month>
   <year>&wsevd.year;</year>
  </pubdate>

  <publoc>
   <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
         xlink:show="replace" xlink:actuate="onRequest"
         href="&wsevd.dated;">&wsevd.dated;
   </loc>
  </publoc>

  <latestloc>
    <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
        xlink:show="replace" xlink:actuate="onRequest"
        href="http://www.w3.org/TR/&wsevd.shortname;">http://www.w3.org/TR/&wsevd.shortname;
   </loc>
  </latestloc>

  <prevlocs>
   <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
         xlink:show="replace" xlink:actuate="onRequest"
         href="&prev.wsevd.dated;">&prev.wsevd.dated;
   </loc>
  </prevlocs>

  <authlist>
   <author>
    <name>Doug Davis</name>
    <affiliation>IBM</affiliation>
   </author>
   <author>
    <name>Ashok Malhotra</name>
    <affiliation>Oracle</affiliation>
   </author>
   <author>
    <name>Katy Warr</name>
    <affiliation>IBM</affiliation>
   </author>
   <author>
    <name>Wu Chou</name>
    <affiliation>Avaya</affiliation>
   </author>
  </authlist>

  <status id='Status'>
   <p>This is the First Public Working Draft.</p>
   <p>
    Publication as a Working Draft does not imply endorsement by the
    W3C Membership. This is a draft document and can be updated, replaced
    or obsoleted by other documents at any time. It is inappropriate to
    cite this document as other than work in progress.
   </p>
  </status>

  <abstract>
   <p>
    This specification describes a mechanism by which an endpoint can
    advertise the structure and contents of the events it might generate.
   </p>
  </abstract>

  <langusage>
    <language id="en">English</language>
  </langusage>

  <revisiondesc>
    <p>Last Modified: $Date: 2011/12/12 13:16:27 $</p>
  </revisiondesc>

 </header>

 <body>
  <div1 id="composable">
   <head>Composable Architecture</head>

   <p>
    By using the XML and SOAP <bibref ref="SOAP11"/>,
    <bibref ref="SOAP12"/>
    extensibility models, the Web service
    specifications (WS-*) are designed to be composed with each other
    to provide a rich set of tools for the Web
    services environment. 
   </p>
  </div1>

  <div1 id="intro">
   <head>Introduction</head>

   <p>
    This specification describes a mechanism by which an endpoint can
    advertise the structure and contents of the events it might generate.
   </p>

   <div2 id="reqs">
    <head>Requirements</head>
 
    <p>
     This specification intends to meet the following requirements:
    </p>
 
    <ulist>
     <item>
      <p>
       Define a mechanism to describe the structure and contents of
       events.
      </p>
     </item>
     <item>
      <p>
       Leverage WS-MetadataExchange <bibref ref="MEX"/> to allow an
       endpoint to advertise events that might be generated.
      </p>
     </item>
    </ulist>
   </div2>
  </div1>

  <div1 id="notterms">
   <head>Notations and Terminology</head>

   <p>
    This section specifies the notations, namespaces, and
    terminology used in this specification.
   </p>

   <div2 id="conventions">
    <head>Notational Conventions</head>
 
    <p>
     The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
     NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
     "OPTIONAL" in this document are to be interpreted as described in
     RFC 2119 <bibref ref="RFC2119"/>.
    </p>
   
    <p>
     This specification uses the following syntax to define
     normative outlines for messages:
    </p>

    <ulist>
     <item>
      <p>
       The syntax appears as an XML instance, but values in
       italics indicate data types instead of values.
      </p>
     </item>

     <item>
      <p>
       Characters are appended to elements and attributes to
       indicate cardinality:
      </p>

      <ulist>
       <item>
        <p>"?" (0 or 1)</p>
       </item>

       <item>
        <p>"*" (0 or more)</p>
       </item>

       <item>
        <p>"+" (1 or more)</p>
       </item>
      </ulist>
     </item>

     <item>
      <p>
       The character "|" is used to indicate a choice between
       alternatives.
      </p>
     </item>

     <item>
      <p>
       The characters "(" and ")" are used to indicate that contained items
       are to be treated as a group with respect to cardinality or choice.
      </p>
     </item>

     <item>
      <p>
       The characters "[" and "]" are used to call out references and
       property names.
      </p>
     </item>

     <item>
      <p>
       Ellipsis (i.e. "...") indicate a point of extensibility.
      </p>
     </item>

     <item>
      <p>
       XML namespace prefixes (see <specref ref="Table3"/>)
       are used to indicate the namespace of the element being
       defined.
      </p>
     </item>
    </ulist>

    <p>
     This specification can be used in terms of XML Information Set (Infoset)
     <bibref ref="XMLInfoset"/>, even though the specification uses XML 1.0
     terminology. Valid Infoset for this specification is the one 
     serializable in XML 1.0, hence the use of XML 1.0.
    </p>

   </div2>

   <div2 id="extensions">
    <head>Considerations on the Use of Extensibility Points</head>

    <p>
     The elements defined in this specification MAY be extended at the
     points indicated by their outlines and schema. Implementations MAY
     add child elements and/or attributes at the indicated extension
     points but MUST NOT contradict the semantics of the parent and/or
     owner, respectively. 
    </p>

    <p>
     Extension elements and attributes MUST NOT use the Web Services
     Event Descriptions namespace URI.
    </p>
   </div2>

   <div2 id="terms">
    <head>Terminology</head>

    <glist>
     <gitem>
      <label> Notification </label>
      <def>
       <p>
        A message sent to indicate that an event, or events, have occurred.
       </p>
      </def>
     </gitem>
    </glist>
   </div2>

   <div2 id="compliance">
    <head>Compliance</head>
    
    <p>
     An implementation is not compliant with this specification if it fails to
     satisfy one or more of the MUST or REQUIRED level requirements defined 
     herein.  A SOAP Node MUST NOT use the XML namespace identifier for this 
     specification (listed in <specref ref="namespaces"/>) within SOAP 
     Envelopes unless it is compliant with this specification. 
    </p>
    
    <p>
     Normative text within this specification takes precedence over the XML 
     Schema, which in turn take precedence over 
     outlines, which in turn take precedence over examples. 
    </p>
    
    <p>
     Unless otherwise noted, all IRIs are absolute IRIs and IRI comparison
     MUST be performed according to <bibref ref="RFC3987"/> section 5.3.1.
    </p>

    <p>
     Implementations are expected to support both UTF-8 and UTF-16 as
     described in XML 1.0.
    </p>

   </div2>

   <div2 id="namespaces">
    <head>XML Namespaces</head>
 
    <p>
     The XML namespace URI that MUST be used by implementations of
     this specification is:
    </p>

    <example>
     <eg><loc href="http://www.w3.org/&wsevd.nsprefix;/ws-evd">http://www.w3.org/&wsevd.nsprefix;/ws-evd</loc></eg>
    </example>

    <p>
     <specref ref="Table3"/> lists XML namespaces that are used in this
     specification. The choice of any namespace prefix is arbitrary
     and not semantically significant.
    </p>

    <table id="Table3" border="1">
     <caption> Prefixes and XML namespaces used in this specification </caption>
     <tbody>
      <tr>
       <th align="left"> Prefix </th>
       <th align="left"> XML Namespace </th>
       <th align="left"> Specification(s) </th>
      </tr>

      <tr>
       <td>s</td>
       <td>(Either SOAP 1.1 or 1.2)</td>
       <td>(Either SOAP 1.1 or 1.2)</td>
      </tr>
      <tr>
       <td>s11</td>
       <td>
        <loc href="http://schemas.xmlsoap.org/soap/envelope/">
         http://schemas.xmlsoap.org/soap/envelope/
        </loc>
       </td>
       <td>SOAP 1.1 <bibref ref="SOAP11"/></td>
      </tr>
      <tr>
       <td>s12</td>
       <td>
        <loc href="http://www.w3.org/2003/05/soap-envelope">
         http://www.w3.org/2003/05/soap-envelope
        </loc>
       </td>
       <td>SOAP 1.2 <bibref ref="SOAP12"/></td>
      </tr>
      <tr>
       <td>wsa</td>
       <td>
        <loc href="http://www.w3.org/2005/08/addressing">
         http://www.w3.org/2005/08/addressing
        </loc>
       </td>
       <td>WS-Addressing <bibref ref="AddrCore"/></td>
      </tr>
      <tr>
       <td>wsevd</td>
       <td>
        <loc href="http://www.w3.org/&wsevd.nsprefix;/ws-evd">
         http://www.w3.org/&wsevd.nsprefix;/ws-evd
        </loc>
       </td>
       <td>This specification</td>
      </tr>
      <tr>
       <td>xs</td>
       <td>
        <loc href="http://www.w3.org/2001/XMLSchema">
         http://www.w3.org/2001/XMLSchema
        </loc>
       </td>
       <td>
        XML Schema <bibref ref="XMLSchema1"/>, <bibref ref="XMLSchema2"/>
       </td>
      </tr>
      <tr>
       <td>wse</td>
       <td>
        <loc href="http://www.w3.org/&wsevt.nsprefix;/ws-evt">
         http://www.w3.org/&wsevt.nsprefix;/ws-evt
        </loc>
       </td>
       <td>WS-Eventing <bibref ref="Eventing"/></td>
      </tr>
     </tbody>
    </table>

    <p>
     The working group intends to update the value of the Web Services
     Event Descriptions namespace URI each time a new version of this document 
     is published until such time that the document reaches Candidate
     Recommendation status. Once it has reached Candidate Recommendation
     status, the working group intends to maintain the value of the
     Web Services Event Descriptions namespace URI that was assigned in the
     Candidate Recommendation unless significant changes are made that
     impact the implementation or break post-CR implementations of the
     specification. Also see
     <loc href="http://www.w3.org/2001/tag/doc/namespaceState.html">
      http://www.w3.org/2001/tag/doc/namespaceState.html
     </loc> and
     <loc href="http://www.w3.org/2005/07/13-nsuri">
      http://www.w3.org/2005/07/13-nsuri
      </loc>.
    </p>
   </div2>

  </div1>

  <div1 id="Advertising">
   <head>Advertising Event Information</head>

   <p>
    There are many use cases in which it is necessary for an endpoint
    to advertise the structure and contents of the events that it might
    generate.  For example, a subscriber
    might wish to know the shape of the events that are generated in
    order to properly formulate a filter to limit the number of
    notifications that are transmitted, or to ensure it can successfully
    process the type of events that are transmitted.
   </p>

   <p>
    There are many ways in which an endpoint could describe and 
    advertise the structure of the events for which it will issue 
    notifications. To provide a basic level of interoperability, this 
    specification defines the following mechanism, in 
    <specref ref="ETypes"/>, for describing and 
    advertising event information.
   </p>

   <p>
    This specification only defines a mechanism by which events can be
    described and advertised. How these events, and the properties of
    these events that are described within an Event Descriptions document,
    are serialized for transmission is out of scope
    of this specification; but are expected to be fully described in
    any specification that uses this one.
   </p>

   <div2 id="ETypes">
    <head>Event Types &amp; Event Descriptions</head>

    <p>
     A key concept in the description and advertisement of event information 
     is the "Event Type". An Event Type is a description of the syntactic 
     structure and value space of the set of events that share that type. 
     Event Types are independent of the pub/sub protocol used and the format
     of the notifications used to transmit those events.
    </p>

    <p>
     Event Types are described within an EventDescriptions element where 
     they contain a complete description of an event. A key aspect of this
     description is the associated XML Schema Global Element Declaration 
     (GED) for each event.
     EventDescriptions element has the following form: 
    </p>

    <example>
     <eg>&lt;wsevd:EventDescriptions targetNamespace="<emph>xs:anyURI</emph>" ...>
  &lt;wsevd:types>
    &lt;xs:schema ...>
      ...
    &lt;/xs:schema>
    <emph>xs:any</emph>*
  &lt;/wsevd:types>
  &lt;wsevd:eventType id="<emph>xs:ID</emph>" element="<emph>xs:QName</emph>"? actionURI="<emph>xs:anyURI</emph>"? ...>
    <emph>xs:any</emph>*
  &lt;/wsevd:eventType> +
  <emph>xs:any</emph>*
&lt;/wsevd:EventDescriptions></eg>
    </example>

    <p>
     The XML Schema for the EventDescriptions element can be found in 
     <specref ref="EVDXSD"/>. The following describes additional, normative 
     constraints on the outlined listed above: 
    </p>

    <glist>
     <gitem>
      <label> /wsevd:EventDescriptions </label>
      <def>
       <p>
        This element contains the declarations of all the Event Types that 
        apply to a given context.
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions@targetNamespace </label>
      <def>
       <p>
        This attribute defines the namespace affiliation of the Event Types 
        declared within the EventDescriptions element. Its value MUST be an 
        absolute IRI <bibref ref="RFC3987"/>. It SHOULD be dereferenceable. 
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions/wsevd:types </label>
      <def>
       <p>
        This element encloses data type definitions that are relevant to 
        the declared Event Types.
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions/wsevd:types/xs:schema </label>
      <def>
       <p>
        As described earlier, an Event Type is defined by a Global Element 
        Declaration (GED) in XML Schema. This element contains collections 
        of imported and inlined schema components that describe the GEDs 
        that are used to define Event Types.
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions/wsevd:eventType </label>
      <def>
       <p>
        This element describes a specific Event Type.
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions/wsevd:eventType/@id </label>
      <def>
       <p>
        This attribute provides an identifier for this Event Type which MUST be
        unique amongst 
        all the Event Types defined by the enclosing wsevd:EventDescriptions 
        element. In conjunction with a Prefix that is associated with the 
        value of /wsevd:EventDescriptions/@targetNamespace namespace URI, the 
        value of this attribute MAY be used as the LocalPart of a QName 
        that identifies this Event Type outside the context of the 
        enclosing wsevd:EventDescriptions element. 
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions/wsevd:eventType/@element </label>
      <def>
       <p>
        This OPTIONAL attribute refers to a GED defined or imported in the 
        /wsevd:EventDescriptions/wsevd:types element. The referenced GED 
        serves as the definition of this Event Type. 
       </p>
      </def>
     </gitem>
     <gitem>
      <label> /wsevd:EventDescriptions/wsevd:eventType/@actionURI </label>
      <def>
       <p>
        This OPTIONAL attribute provides a value for the 'action' 
        property which, depending upon the format of the 
        notification used to transmit the Event, serve as a potential aid 
        to identifying the semantics implied by the message. When not 
        present the implied value of this attribute is the concatenation 
        of the wsevd:EventDescriptions' @targetNamespace attribute and
        the wsevd:eventType id attribute separated by the '/' character.
       </p>
      </def>
     </gitem>
    </glist>

    <p>
     Note, while the schema allows for the @element attribute and the
     @actionURI attribute to be absent, at least one of them MUST be
     present for each eventType.
    </p>
    
    <p>
     The following is an example of an EventDescriptions element that could 
     serve as a description of the Event Type used in 
     <specref ref="EVDExample"/>. 
    </p>

    <example id="EVDSample">
     <head>EventDescriptions</head>
     <eg>(01) &lt;wsevd:EventDescriptions 
(02)        targetNamespace="http://www.example.org/oceanwatch/notifications"
(03)        xmlns:wsevd="http://www.w3.org/&wsevd.nsprefix;/ws-evd"
(04)        xmlns:ow="http://www.example.org/oceanwatch">
(05)   &lt;wsevd:types>
(06)     &lt;xs:schema targetNamespace="http://www.example.org/oceanwatch">
(07)       &lt;xs:include schemaLocation="http://www.example.org/schemas/oceanwatch.xsd"/>
(08)       &lt;xs:element id="WindReport" type="ow:WindReportType"/>
(09)     &lt;/xs:schema>
(10)   &lt;/wsevd:types>
(11)
(12)   &lt;wsevd:eventType id="WindReportEvent"
(13)                  element="ow:WindReport"
(14)                  actionURI="http://www.example.org/oceanwatch/2003/WindReport"/>
(15) &lt;/wsevd:EventDescriptions></eg>
    </example>

    <p>
     Lines (12-14) describe an Event Type with a QName of 
     "{http://www.example.org/oceanwatch/notifications}:WindReportEvent". The 
     GED for this Event Type is defined on line (08) as being of type 
     "{http://www.example.org/oceanwatch}:WindReportType".
    </p>

    <p>
     The sample EventDescriptions in <specref ref="EVDSample"/> might describe 
     the following notification:
    </p>

    <example id="EVDExample">
     <head>Hypothetical Notification</head>
     <eg>(01) &lt;s12:Envelope xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(02)               xmlns:wsa="http://www.w3.org/2005/08/addressing"
(03)               xmlns:ow="http://www.example.org/oceanwatch">
(04)   &lt;s12:Header>
(05)     &lt;wsa:Action>
(06)       http://www.example.com/oceanwatch/2003/WindReport
(07)     &lt;/wsa:Action>
(08)     ...
(09)   &lt;/s12:Header>
(10)   &lt;s12:Body>
(11)     &lt;ow:WindReport>
(12)       &lt;ow:Date>030701&lt;/ow:Date>
(13)       &lt;ow:Time>0041&lt;/ow:Time>
(14)       &lt;ow:Speed>65&lt;/ow:Speed>
(15)       &lt;ow:Location>BRADENTON BEACH&lt;/ow:Location>
(16)       &lt;ow:County>MANATEE&lt;/ow:County>
(17)       &lt;ow:State>FL&lt;/ow:State>
(18)       &lt;ow:Lat>27.46&lt;/ow:Lat>
(19)       &lt;ow:Long>82.70&lt;/ow:Long>
(20)       &lt;ow:Comments xml:lang="en-US" >
(21)         WINDS 55 WITH GUSTS TO 65. ROOF TORN OFF BOAT HOUSE. REPORTED
(22)         BY STORM SPOTTER. (TBW)
(23)       &lt;/ow:Comments>
(24)     &lt;/ow:WindReport>
(25)   &lt;/s12:Body>
(26) &lt;/s12:Envelope></eg>
    </example>

    <div3>
     <head>Retrieving Event Descriptions</head>
     <p>
      Although there are many ways in which an endpoint can make its 
      EventDescriptions available, this specification RECOMMENDS the use of 
      the mechanisms described in section 9 of WS-MetadataExchange 
      <bibref ref="MEX"/>.
      In particular, this specification RECOMMENDS that the Event Descriptions 
      metadata be made available through the WS-Eventing 
      <bibref ref="Eventing"/> EventSource Policy assertion. This MAY be done 
      by either embedding the Event Descriptions metadata directly within 
      the assertion, or by including a MetadataExchange reference to the data.
     </p>

     <p>
      An event source MUST NOT have more than one EventDescriptions document. 
     </p>

     <p>
      The following examples show how Event Descriptions metadata might 
      appear within a WS-Eventing EventSource Policy assertion.
     </p>

     <example id="embedEVD">
      <head>Sample Embedded Event Descriptions Metadata</head>
      <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:FormatName URI="..."/>
(03)   &lt;wsevd:EventDescriptions ...>
(04)     ...
(05)   &lt;/wsevd:EventDescriptions>
(06) &lt;/wse:EventSource></eg>
     </example>

     <p>
      <specref ref="embedEVD"/> shows how the Event Descriptions metadata 
      might be embedded directly within a WS-Eventing EventSource Policy 
      assertion.
     </p>

     <example id="refEVD">
      <head>Sample Reference to Event Descriptions Metadata</head>
      <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:FormatName URI="..."/>
(03)   &lt;mex:Location 
(04)     Type="wsevd:EventDescriptions"
(05)     URI="http://example.com/EVD_Metadata" />
(06) &lt;/wse:EventSource> </eg>
     </example>

     <p>
      <specref ref="refEVD"/> shows the same policy assertion from 
      <specref ref="embedEVD"/> except the embedded Event Descriptions
      metadata is replaced with a reference to an HTTP resource whose 
      representation is the Event Descriptions metadata. The data can be 
      retrieved via an HTTP GET to the specified URL.
     </p>

     <example id="mexEVD">
      <head>Sample GetMetadataResponse with Event Descriptions Metadata</head>
      <eg>(01) &lt;mex:GetMetadataResponse>
(02)   &lt;mex:Metadata>
(03)     &lt;mex:MetadataSection Dialect='wsevd:EventDescriptions'
(04)         Identifier='...'>
(05)       &lt;wsevd:EventDescriptions ...>
(06)         ...
(07)       &lt;/wsevd:EventDescriptions>
(08)     &lt;/mex:MetadataSection>
(09)   &lt;/mex:Metadata>
(10) &lt;/mex:GetMetadataResponse> </eg>
     </example>

     <p>
      <specref ref="mexEVD"/> shows how the Event Descriptions metadata
      might appear within a GetMetadataResponse message.
     </p>

     <p>
      If an EventDescriptions document appears within a WS-MetadataExchange
      MetadataSection, then the value of the @Identifier attribute, if present,
      MUST be equal to the value of its 
      wsevd:EventDescriptions/@targetNamespace.
     </p>
    </div3>

    <div3>
     <head>Bindings for Event Descriptions</head>
     <p>
      Any specification of a publish-subscribe system that uses 
      Event Descriptions to advertise the events that are generated
      MUST clearly define how those events are serialized when they
      are transmitted to the receiver of notification messages.
     </p>

    </div3>
   </div2>

  </div1>

  <div1 id="acks">
   <head>Acknowledgements</head>

   <p>
    This specification has been developed as a result of joint
    work with many individuals and teams, including: 
     Alessio Soldano (Red Hat),
     Ashok Malhotra (Oracle Corp.),
     Asir Vedamuthu (Microsoft Corp.),
     Bob Freund (Hitachi, Ltd.),
     Bob Natale (MITRE Corp.),
     David Snelling (Fujitsu, Ltd.),
     Doug Davis (IBM),
     Fred Maciel (Hitachi, Ltd.),
     Geoff Bullen (Microsoft Corp.),
     Gilbert Pilz (Oracle Corp.),
     Greg Carpenter (Microsoft Corp.),
     Jeff Mischkinsky (Oracle Corp.),
     Katy Warr (IBM),
     Li Li (Avaya Communications),
     Mark Little (Red Hat),
     Martin Chapman (Oracle Corp.),
     Paul Fremantle (WSO2),
     Paul Nolan (IBM),
     Prasad Yendluri (Software AG),
     Ram Jeyaraman (Microsoft Corp.),
     Sreedhara Narayanaswamy (CA),
     Sumeet Vij (Software AG),
     Tom Rutt (Fujitsu, Ltd.),
     Vikas Varma (Software AG),
     Wu Chou (Avaya Communications),
     Yves Lafon (W3C/ERCIM).
   </p>
  </div1>

  <div1 id="refs">
   <head>References</head>

   <div2>
    <head>Normative References</head>

    <blist>
     <bibl key="RFC 2119" id="RFC2119"
      href="http://www.ietf.org/rfc/rfc2119.txt">
       <titleref>
        Key words for use in RFCs to Indicate Requirement Levels
       </titleref>
       , S. Bradner, Author.
       Internet Engineering Task Force, March 1997.
     </bibl>

     <bibl key="RFC 3023" id="RFC3023"
      href="http://www.ietf.org/rfc/rfc3023.txt">
       <titleref>
        XML Media Types
       </titleref>
       , M. Murata, S. St. Laurent, D. Kohn, Authors.
       Internet Engineering Task Force, January 2001.
     </bibl>

     <bibl key="RFC 3987" id="RFC3987"
      href="http://www.ietf.org/rfc/rfc3987.txt">
       <titleref>
        Internationalized Resource Identifiers (IRIs)
       </titleref>
       , M. Duerst and M. Suignard, Authors.
       Internet Engineering Task Force, January 2005.
     </bibl>

    </blist>

   </div2>

   <div2>
    <head>Informative References</head>

    <blist>
     <bibl key="SOAP11" id="SOAP11"
      href="http://www.w3.org/TR/2000/NOTE-SOAP-20000508/">
       <titleref>
        W3C Note, "Simple Object Access Protocol (SOAP) 1.1"
       </titleref>
       , D. Box, et al, Editors.
       World Wide Web Consortium (W3C), 8 May 2000.
     </bibl>

     <bibl key="SOAP12" id="SOAP12"
      href="http://www.w3.org/TR/soap12-part1/">
       <titleref>
        W3C Recommendation, "SOAP Version 1.2 Part 1: Messaging Framework"
       </titleref>
       , M. Gudgin, M. Hadley, N. Mendelsohn, J-J. Moreau, H. Frystyk Nielson,
        Editors.
       World Wide Web Consortium (W3C), 27 April 2007.
     </bibl>

     <bibl key="WS-Addressing" id="AddrCore"
      href="http://www.w3.org/TR/ws-addr-core">
       <titleref>
        W3C Recommendation, "Web Services Addressing 1.0 (WS-Addressing)"
       </titleref>
       , M. Gudgin, M. Hadley, T. Rogers, Editors.
       World Wide Web Consortium (W3C), 9 May 2006.
     </bibl>

     <bibl key="WS-Eventing" id="Eventing"
      href="http://www.w3.org/TR/ws-eventing">
       <titleref>
        W3C Working Group Draft, "Web Services Eventing
          (WS-Eventing) 1.1"
       </titleref>
       , D. Davis, et al., Editors.
       World Wide Web Consortium (W3C), 15 September 2009.
     </bibl>

     <bibl key="WS-MetadataExchange" id="MEX"
      href="http://www.w3.org/TR/ws-metadata-exchange">
       <titleref>
        W3C Working Group Draft, "Web Services Metadata Exchange 
          (WS-MetadataExchange) 1.1"
       </titleref>
       , D. Davis, et al., Editors.
       World Wide Web Consortium (W3C), 15 September 2009.
     </bibl>
 
     <bibl key="xml:id" id="XML-ID"
      href="http://www.w3.org/TR/xml-id/">
       <titleref>
        W3C Recommendation, "xml:id Version 1.0"
       </titleref>
       , J. Marsh, et al., Editors.
       World Wide Web Consortium (W3C), 9 September 2005.
     </bibl>

     <bibl key="XML Infoset" id="XMLInfoset"
      href="http://www.w3.org/TR/xml-infoset">
       <titleref>
        W3C Recommendation, "XML Information Set (Second Edition)"
       </titleref>
       , J. Cowan, R. Tobin, Editors.
       World Wide Web Consortium (W3C), 4 February 2004.
     </bibl>

     <bibl key="XMLSchema - Part 1" id="XMLSchema1"
      href="http://www.w3.org/TR/xmlschema-1/">
       <titleref>
        W3C Recommendation, "XML Schema Part 1: Structures (Second Edition)"
       </titleref>
       , H. Thompson, et al., Editors.
       World Wide Web Consortium (W3C), 28 October 2004.
     </bibl>

     <bibl key="XMLSchema - Part 2" id="XMLSchema2"
      href="http://www.w3.org/TR/xmlschema-2/">
       <titleref>
        W3C Recommendation, "XML Schema Part 2: Datatypes (Second Edition)"
       </titleref>
       , P. Biron, A. Malhotra, Editors.
       World Wide Web Consortium (W3C), 28 October 2004.
     </bibl>

    </blist>
   </div2>

  </div1>
 </body>

 <back>
  
  <div1 id="EVD_MIME">
   <head>Registration of the application/evd+xml Media Type</head>

   <p>
    This appendix defines the 'application/evd+xml' media type which can 
    be used to describe EventDescriptions documents serialized as XML.
   </p>

   <glist>
    <gitem>
     <label> Type name: </label>
     <def>
      <p> application </p>
     </def>
    </gitem>
    <gitem>
     <label> Subtype name: </label>
     <def>
      <p> evd+xml </p>
     </def>
    </gitem>
    <gitem>
     <label> Required parameters: </label>
     <def>
      <p> none </p>
     </def>
    </gitem>
    <gitem>
     <label> Optional parameters: </label>
     <def>
      <p>
       <kw>charset</kw><phrase/>
       This parameter has identical semantics to the charset parameter 
       of the 'application/xml' media type as specified in 
       <bibref ref='RFC3023'/>.
      </p>
     </def>
    </gitem>
    <gitem>
     <label> Encoding considerations: </label>
     <def>
      <p> 
       Identical to those of 'application/xml' as described in 
       <bibref ref='RFC3023'/>, section 3.2, as applied to the 
       EventDescriptions document.
      </p>
     </def>
    </gitem>
    <gitem>
     <label> Security considerations: </label>
     <def>
      <p> Same as that of Section 10 in <bibref ref='RFC3023'/>. </p>
     </def>
    </gitem>
    <gitem>
     <label> Interoperability considerations: </label>
     <def>
      <p> There are no known interoperability issues. </p>
     </def>
    </gitem>
    <gitem>
     <label> Published specification: </label>
     <def>
      <p> Web Services Event Descriptions (this specification). </p>
     </def>
    </gitem>
    <gitem>
     <label> Applications which use this media type: </label>
     <def>
      <p> No known applications currently use this media type. </p>
     </def>
    </gitem>
    <gitem>
     <label> Additional Information: </label>
     <def>
      <p> 
       <kw>Magic number(s):</kw><phrase/>
       None.<phrase/><phrase/>

       <kw>File extension(s):</kw><phrase/>
       evd<phrase/><phrase/>

       <kw>Fragment identifiers:</kw><phrase/>
       An EventDescriptions fragment identifier references a particular 
       Event Type within an EventDescriptions document. The Event Type 
       referenced is the Event Type with the @id attribute whose
       normalized value  (per <bibref ref='XML-ID'/>)
       equals that of the fragment identifier component.
       <phrase/><phrase/>
       For example, if the EventDescriptions document from 
       <specref ref="EVDSample"/>
       were located at "http://www.example.com/eventtypes/oceanwatch", the 
       following URI references the Event Type defined in lines 12-14: 
       http://www.example.com/eventtypes/oceanwatch#WindReportEvent.
       <phrase/><phrase/>

       <kw>Macintosh file type code(s):</kw><phrase/>
       No Macintosh file type code defined.
      </p>
     </def>
    </gitem>
    <gitem>
     <label> 
      Person and email address to contact for further information:
     </label>
     <def>
      <p> World Wide Wed Consortium &lt;web-human@w3.org&gt; </p>
     </def>
    </gitem>
    <gitem>
     <label> Intended usage: </label>
     <def>
      <p> COMMON </p>
     </def>
    </gitem>
    <gitem>
     <label> Restrictions on usage: </label>
     <def>
      <p> none. </p>
     </def>
    </gitem>
    <gitem>
     <label> Author/Change controller: </label>
     <def>
      <p>
       The WS-EventDescriptions specification is a work product of the 
       World Wide Web Consortium's Web Service Resource Access Working 
       Group. The W3C has change control over these specifications.
      </p>
     </def>
    </gitem>
   </glist>

  </div1>

  <div1 id="EVDXSD">
   <head>XML Schema for EventDescriptions</head>
   
   <p>
    A normative copy of the XML Schema <bibref ref='XMLSchema1'/>,
    <bibref ref='XMLSchema2'/> description for the EventDescriptions
    element can be retrieved from the following address:
   </p>

   <example>
    <eg><loc href='http://www.w3.org/&wsevd.nsprefix;/ws-evd/eventdescriptions.xsd'>http://www.w3.org/&wsevd.nsprefix;/ws-evd/eventdescriptions.xsd</loc></eg>
   </example>

   <p>
    A non-normative copy of the XML schema is listed below for
    convenience.
   </p>

   <example>
    <eg>&lt;xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
           targetNamespace='http://www.w3.org/&wsevd.nsprefix;/ws-evd'
           elementFormDefault='qualified' attributeFormDefault='unqualified'>
  &lt;xs:element name='EventDescriptions'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='types'>
          &lt;xs:annotation>
            &lt;xs:documentation>Data type definitions that are relevant to described notifications.&lt;/xs:documentation>
          &lt;/xs:annotation>
          &lt;xs:complexType>
            &lt;xs:sequence>
              &lt;xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
            &lt;/xs:sequence>
            &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
          &lt;/xs:complexType>
        &lt;/xs:element>
        &lt;xs:element name='eventType' maxOccurs='unbounded'>
          &lt;xs:complexType>
            &lt;xs:sequence>
              &lt;xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
            &lt;/xs:sequence>
            &lt;xs:attribute name='id' type='xs:ID' use='required'/>
            &lt;xs:attribute name='element' type='xs:QName' use='optional'/>
            &lt;xs:attribute name='actionURI' type='xs:anyURI' use='optional'/>
            &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
          &lt;/xs:complexType>
        &lt;/xs:element>
        &lt;xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
      &lt;/xs:sequence>
      &lt;xs:attribute name='targetNamespace' type='xs:anyURI' use='required'/>
      &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
    &lt;/xs:complexType>
  &lt;/xs:element>
&lt;/xs:schema></eg>
   </example>
  </div1>

  <div1 id="changelog">
   <head>Change Log</head>

   <table border="1">
    <tbody>
     <tr>
      <th> Data </th>
      <th> Author </th>
      <th> Description </th>
     </tr>
     <tr>
      <td> 2010/01/19 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8068">8068</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/09 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6463">6463</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8031">8031</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8198">8198</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/16 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8900">8900</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/30 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9031">9031</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/04/20 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9321">9321</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/04 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9087">9087</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/08/18 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10376">10376</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/01/04 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11551">11551</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/07/12 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=13227">13227</loc>
      </td>
     </tr>
    </tbody>
   </table>
  </div1>

 </back>
</spec>

