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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

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


Subject: Incorporating resolutions for Issues 74, 53 and 60, 32 (Schema files...)



Folks,

I took a look at incorporating the updated XSDs sent recently by Dieter, which include the resolutions to Issues 60 & 32.

I also took a look at the resolutions to Issues 74 and 53, which deal with the contributions elements.

Unfortunately, they don't quite jive, so I've taken them all and built the following version, which I think is as near as
possible to the overall intentions of the 4 issues, which unfortunately speak past each other a bit.  So, I propose the
following as the material for sca-contribution-1.1-schema-200803.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright(C) OASIS(R) 2005,2008. All Rights Reserved. OASIS trademark, IPR and other policies apply.  -->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
   xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200712"
   targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200712"
   elementFormDefault="qualified">

   <include schemaLocation="sca-core-1.1-schema-200803.xsd"/>

   <!-- Contribution -->
   <element name="contribution" type="sca:ContributionType"/>
   <complexType name="ContributionType">
      <complexContent>
         <extension base="sca:CommonExtensionBase">
            <sequence>
               <element name="deployable" type="sca:DeployableType" maxOccurs="unbounded"/>
               <element name="import" type="sca:ImportType" minOccurs="0" maxOccurs="unbounded"/>
               <element name="export" type="sca:ExportType" minOccurs="0" maxOccurs="unbounded"/>
               <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
         </extension>
      </complexContent>
   </complexType>

   <!-- Deployable -->
   <complexType name="DeployableType">
      <complexContent>
         <extension base="sca:CommonExtensionBase">
            <sequence>
               <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
            <attribute name="composite" type="QName" use="required"/>
         </extension>
      </complexContent>
   </complexType>

   <!-- Import -->
   <element name="importBase" type="sca:Import" abstract="true" />
   <complexType name="Import" abstract="true">
      <complexContent>
         <extension base="sca:CommonExtensionBase">
            <sequence>
               <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
         </extension>
      </complexContent>  
   </complexType>
   
   <element name="import" type="sca:ImportType"/>
   <complexType name="ImportType">
      <complexContent>
         <extension base="sca:Import">
            <attribute name="namespace" type="string" use="required"/>
            <attribute name="location" type="anyURI" use="required"/>
         </extension>
      </complexContent>
   </complexType>

   <!-- Export -->
   <element name="exportBase" type="sca:Export" abstract="true" />
   <complexType name="Export" abstract="true">
      <complexContent>
         <extension base="sca:CommonExtensionBase">
            <sequence>
               <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
         </extension>
      </complexContent>      
   </complexType>
   
   <element name="export" type="sca:ExportType"/>
   <complexType name="ExportType">
      <complexContent>
         <extension base="sca:Export">
            <attribute name="namespace" type="string" use="required"/>
         </extension>
      </complexContent>
   </complexType>

</schema>

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








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