diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-26 12:09:03 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-26 12:09:03 +0000 |
commit | e2153aa948efc7d8b05c641784b30a665c598748 (patch) | |
tree | c71f20528a2787667480ef07d1add8a0ab9cb01d /tags/java/sca/1.5/modules/assembly-xsd/src/main/resources/sca-contributions.xsd | |
parent | 496a0ea8d015ff2ef0777a8a182f96fee9cd1222 (diff) |
Tag 1.5 RC1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@778670 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | tags/java/sca/1.5/modules/assembly-xsd/src/main/resources/sca-contributions.xsd | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/tags/java/sca/1.5/modules/assembly-xsd/src/main/resources/sca-contributions.xsd b/tags/java/sca/1.5/modules/assembly-xsd/src/main/resources/sca-contributions.xsd new file mode 100644 index 0000000000..2da2fedb1f --- /dev/null +++ b/tags/java/sca/1.5/modules/assembly-xsd/src/main/resources/sca-contributions.xsd @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2007 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.osoa.org/xmlns/sca/1.0" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + elementFormDefault="qualified"> + + <include schemaLocation="sca-core.xsd"/> + + <element name="contribution" type="sca:ContributionType"/> + <complexType name="ContributionType"> + <sequence> + <choice minOccurs="0" maxOccurs="unbounded"> + <element name="deployable" type="sca:DeployableType" minOccurs="0" maxOccurs="unbounded"/> + <element ref="sca:baseImport"/> + <element ref="sca:baseExport"/> + </choice> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <anyAttribute namespace="##other" processContents="lax"/> + </complexType> + + <complexType name="DeployableType"> + <sequence> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="composite" type="QName" use="required"/> + <anyAttribute namespace="##other" processContents="lax"/> + </complexType> + + <element name="baseImport" type="sca:BaseImportType" abstract="true"/> + <complexType name="BaseImportType" abstract="true"> + <sequence> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="location" type="anyURI" use="optional"/> + <anyAttribute namespace="##other" processContents="lax"/> + </complexType> + + <element name="import" type="sca:ImportType" substitutionGroup="sca:baseImport"/> + <complexType name="ImportType"> + <complexContent> + <extension base="sca:BaseImportType"> + <attribute name="namespace" type="string" use="required"/> + </extension> + </complexContent> + </complexType> + + <element name="baseExport" type="sca:BaseExportType" abstract="true"/> + <complexType name="BaseExportType" abstract="true"> + <sequence> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <anyAttribute namespace="##other" processContents="lax"/> + </complexType> + + <element name="export" type="sca:ExportType" substitutionGroup="sca:baseExport"/> + <complexType name="ExportType"> + <complexContent> + <extension base="sca:BaseExportType"> + <attribute name="namespace" type="string" use="required"/> + </extension> + </complexContent> + </complexType> +</schema>
\ No newline at end of file |