diff options
Diffstat (limited to 'branches/sca-java-1.x/itest/workspace-manager/src/main/resources')
4 files changed, 77 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/contrib1/META-INF/sca-contribution.xml b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/contrib1/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..965e42b22a --- /dev/null +++ b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/contrib1/META-INF/sca-contribution.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:tns="http://someuri" + xmlns:ans="http://someotheruri"> + <deployable composite="AComposite"/> + <tns:import.xyz uri="abc" tns:anAttribute="def"/> +</contribution>
\ No newline at end of file diff --git a/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/contrib1/contrib1.composite b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/contrib1/contrib1.composite new file mode 100644 index 0000000000..e2823f38a2 --- /dev/null +++ b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/contrib1/contrib1.composite @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:tns="http://someuri" + targetNamespace="http://someotheruri" + name="AComposite"> + + <component name="Component1"> + <tns:implementation.xyz anAttribute="abcde"/> + <reference name="component2" target="Component2"/> + </component> + + <component name="Component2"> + <tns:implementation.xyz anAttribute="fghij"/> + </component> + +</composite>
\ No newline at end of file diff --git a/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/implementation-xyz.xsd b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/implementation-xyz.xsd new file mode 100644 index 0000000000..7527779cda --- /dev/null +++ b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/implementation-xyz.xsd @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2006 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://someuri" + xmlns:tns="http://someuri" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + elementFormDefault="qualified"> + + <import namespace="http://www.osoa.org/xmlns/sca/1.0"/> + + <element name="implementation.xyz" type="tns:XYZImplementation"/> + + <complexType name="XYZImplementation"> + <complexContent> + <extension base="sca:Implementation"> + <sequence> + <any namespace="##targetNamespace" processContents="lax" + minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="anAttribute" type="string" use="required"/> + </extension> + </complexContent> + </complexType> +</schema>
\ No newline at end of file diff --git a/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/import-xyz.xsd b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/import-xyz.xsd new file mode 100644 index 0000000000..e8535fe3a7 --- /dev/null +++ b/branches/sca-java-1.x/itest/workspace-manager/src/main/resources/import-xyz.xsd @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2006 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://someuri" + xmlns:tns="http://someuri" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + elementFormDefault="qualified"> + + <import namespace="http://www.osoa.org/xmlns/sca/1.0"/> + + <element name="import.xyz" type="tns:ImportXYZ" substitutionGroup="sca:baseImport"/> + + <element name="export.xyz" type="tns:ExportXYZ" substitutionGroup="sca:baseExport"/> + + <complexType name="ImportXYZ"> + <complexContent> + <extension base="sca:BaseImportType"> + <attribute name="anAttribute" type="string"/> + </extension> + </complexContent> + </complexType> + + <complexType name="ExportXYZ"> + <complexContent> + <extension base="sca:BaseExportType"/> + </complexContent> + </complexType> + +</schema>
\ No newline at end of file |