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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-calendar-comment message

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


Subject: Use extension rather than redefinition in XSD


1)      The WS-Calendar.XSD redefines the VTODO object, It should extend the VTODO Object instead using xs:extension.

 

As in

 

<xs:complexType name="interval">
  <xs:complexContent>
    <xs:extension base="wscal:vtodo">
      <xs:sequence>
        <xs:element name="foo" type="ns1-xs:string"/>
        <xs:element name="fie" type="xs:string"/>
        <xs:element name="fum" type="xs:string"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

 

 

2)      The attach object should similarly be an extension of the xcal attach object.

 

 


“It is difficult to get a man to understand something, when his salary depends upon his not understanding it” -- Upton Sinclair.


Toby Considine
TC9, Inc

OASIS Technical Advisory Board
TC Chair: oBIX & WS-Calendar

TC Editor: EMIX, EnergyInterop

U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  

Email: Toby.Considine@gmail.com
Phone: (919)619-2104

http://www.tcnine.com/
blog: www.NewDaedalus.com

 

 



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