OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [wsrm] adding extensibility to the empy type


Sunil Kunisetty wrote:

> Adding extensibility tags for EmptyType will be wrong as it will result
> in pretty much every RM element to be extensible. Do we really want
> this? As per my recollection, we decided to have our Header elements
> only to be extensible.
>
> My suggestion would be to have 2 base extensible elements:
>
> <xsd:complexType name="BaseType">
>- <xsd:sequence>
>  <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
>  </xsd:sequence>
>  <xsd:anyAttribute namespace="##other" processContents="lax" />
>  </xsd:complexType>
>
><xsd:complexType name="BaseHeaderType">
>   <xsd:sequence>
>  <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
>  </xsd:sequence>
>  <xsd:attribute ref="soap:mustUnderstand" use="required" fixed="1" />
>  <xsd:anyAttribute namespace="##other" processContents="lax" />
>  </xsd:complexType>
> (note: to reduce the verbosity we can redefine BaseHeaderType as an
>           extension of BaseType and add soap:mustUnderstand Header).
>
> Header elements will be based on BaseHeaderType. Other 'extensible'
> elements such as Fault can be based on BaseType. Other non extensible
> elements will extend from EmptyType.
>
The latest schema contribution i posted has two base types, one for 
headers and another for complex content types which are not headers.

I made all the complex content types extensible.  If you want to change 
that please indicate which ones should not be.

Tom Rutt

>
> -Sunil
>
>
>Tom Rutt wrote:
>
>  
>
>>Would the following change to the empy type provide better extensibility
>>for the protocol?
>>
>>   <xsd:complexType name="EmptyType">
>>        <xsd:sequence>
>>            <xsd:any namespace="##other" processContents="lax"
>>minOccurs="0" maxOccurs="unbounded"/>
>>        </xsd:sequence>
>>        <xsd:anyAttribute namespace="##other" processContents="lax"/>
>>    </xsd:complexType>
>>
>>The above prosal adds extensible attributes and elements , without the
>>soap must understand attribute which is there for header elements.
>>
>>--
>>----------------------------------------------------
>>Tom Rutt                email: tom@coastin.com; trutt@fsw.fujitsu.com
>>Tel: +1 732 801 5744          Fax: +1 732 774 5133
>>
>>To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/wsrm/members/leave_workgroup.php.
>>    
>>
>
>
>To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/wsrm/members/leave_workgroup.php.
>
>  
>


-- 
----------------------------------------------------
Tom Rutt		email: tom@coastin.com; trutt@fsw.fujitsu.com
Tel: +1 732 801 5744          Fax: +1 732 774 5133






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]