diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-28 09:46:58 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-28 09:46:58 +0000 |
commit | 699d2df521ee26e343c53505a2ac1d546ba1965e (patch) | |
tree | bf474699526bcec86049d407b01a2d4b08757d69 /branches/sca-java-2.0-M2/modules/assembly-xsd-osoa/src/main/resources/sca-contributions.xsd | |
parent | 35f81a620ea2d8423a49d8630bcef1d69027f444 (diff) |
Create M2 relese branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@759448 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-2.0-M2/modules/assembly-xsd-osoa/src/main/resources/sca-contributions.xsd')
-rw-r--r-- | branches/sca-java-2.0-M2/modules/assembly-xsd-osoa/src/main/resources/sca-contributions.xsd | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/branches/sca-java-2.0-M2/modules/assembly-xsd-osoa/src/main/resources/sca-contributions.xsd b/branches/sca-java-2.0-M2/modules/assembly-xsd-osoa/src/main/resources/sca-contributions.xsd new file mode 100644 index 0000000000..caf5d8010f --- /dev/null +++ b/branches/sca-java-2.0-M2/modules/assembly-xsd-osoa/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> + <element name="deployable" type="sca:DeployableType" minOccurs="0" maxOccurs="unbounded"/> + <element ref="sca:import" minOccurs="0" maxOccurs="unbounded"/> + <element ref="sca:export" minOccurs="0" maxOccurs="unbounded"/> + <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="import" type="sca:ImportType"/> + <complexType name="ImportType"> + <sequence> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="namespace" type="string" use="required"/> + <attribute name="location" type="anyURI" use="required"/> + <anyAttribute namespace="##other" processContents="lax"/> + </complexType> + + <element name="export" type="sca:ExportType"/> + <complexType name="ExportType"> + <sequence> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="namespace" type="string" use="required"/> + <anyAttribute namespace="##other" processContents="lax"/> + </complexType> + + <element name="import.resource" type="sca:ImportResourceType" substitutionGroup="sca:import"/> + <complexType name="ImportResourceType"> + <complexContent> + <extension base="sca:ImportType"> + <attribute name="uri" type="anyURI" use="optional"/> + </extension> + </complexContent> + </complexType> + + <element name="export.resource" type="sca:ExportResourceType" substitutionGroup="sca:export"/> + <complexType name="ExportResourceType"> + <complexContent> + <extension base="sca:ExportType"> + <attribute name="uri" type="anyURI" use="optional"/> + </extension> + </complexContent> + </complexType> +</schema>
\ No newline at end of file |