Bug 8161 - Enum: en:Code isn't extensible
: Enum: en:Code isn't extensible
Status: CLOSED REMIND
Product: WS-Resource Access
Enumeration
: LC
: PC Windows XP
: P2 normal
: ---
Assigned To: Doug Davis
: notifications mailing list for WS Resource Access
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-11-03 20:31 UTC by Doug Davis
Modified: 2010-03-17 10:52 UTC (History)
0 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Davis 2009-11-03 20:31:52 UTC
modify en:Code so that people can define new URIs that can be used.
Right now its just:

  <xs:simpleType name="EnumerationEndCodeType">
    <xs:restriction base="xs:anyURI">
      <xs:enumeration value=
        "http://www.w3.org/2009/09/ws-enu/SourceShuttingDown" />
      <xs:enumeration value=
        "http://www.w3.org/2009/09/ws-enu/SourceCancelling" />
    </xs:restriction>
  </xs:simpleType>

Proposal:
allow new (impl-specific URIs) to be used.
Change it to just an xs:any and let the body of the spec define the 
two well-known URIs.  

So "Code" would then change from:
<xs:element name="Code" type="tns:OpenEnumerationEndCodeType"/>

to:
<xs:element name="Code" type="xs:anyURI"/>
Comment 1 Robert Freund 2009-12-08 21:23:18 UTC
Resolved as proposed


  翻译: