diff options
Diffstat (limited to 'cpp/sca/runtime/xsd/sca-contribution-1.1-cd04.xsd')
-rw-r--r-- | cpp/sca/runtime/xsd/sca-contribution-1.1-cd04.xsd | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/cpp/sca/runtime/xsd/sca-contribution-1.1-cd04.xsd b/cpp/sca/runtime/xsd/sca-contribution-1.1-cd04.xsd new file mode 100644 index 0000000000..f13fbd1567 --- /dev/null +++ b/cpp/sca/runtime/xsd/sca-contribution-1.1-cd04.xsd @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright(C) OASIS(R) 2005,2009. 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/200903" + targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200903" + elementFormDefault="qualified"> + + <include schemaLocation="sca-core-1.1-cd04.xsd"/> + + <!-- Contribution --> + <element name="contribution" type="sca:ContributionType"/> + <complexType name="ContributionType"> + <complexContent> + <extension base="sca:CommonExtensionBase"> + <sequence> + <element name="deployable" type="sca:DeployableType" + minOccurs="0" maxOccurs="unbounded"/> + <element ref="sca:importBase" minOccurs="0" + maxOccurs="unbounded"/> + <element ref="sca:exportBase" 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" + substitutionGroup="sca:importBase"/> + <complexType name="ImportType"> + <complexContent> + <extension base="sca:Import"> + <attribute name="namespace" type="string" use="required"/> + <attribute name="location" type="anyURI" use="optional"/> + </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" + substitutionGroup="sca:exportBase"/> + <complexType name="ExportType"> + <complexContent> + <extension base="sca:Export"> + <attribute name="namespace" type="string" use="required"/> + </extension> + </complexContent> + </complexType> + +</schema> |