summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly-xsd/src/main/resources
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 10:33:34 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 10:33:34 +0000
commit33a251619ebe3121b7f56b4e80b2fb4595c247a8 (patch)
tree1863df609ceebb53889cbe5a011f2f0560600962 /java/sca/modules/assembly-xsd/src/main/resources
parent82fb46a356deaed37cf1ef272c2411c491b14017 (diff)
Add the JEE schemes so validation doesn't fail for the jee samples
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801123 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly-xsd/src/main/resources')
-rw-r--r--java/sca/modules/assembly-xsd/src/main/resources/sca-1.1-cd03.xsd2
-rw-r--r--java/sca/modules/assembly-xsd/src/main/resources/sca-jee-1.1-wd03.xsd52
2 files changed, 54 insertions, 0 deletions
diff --git a/java/sca/modules/assembly-xsd/src/main/resources/sca-1.1-cd03.xsd b/java/sca/modules/assembly-xsd/src/main/resources/sca-1.1-cd03.xsd
index 8958305d6c..b2f36a871c 100644
--- a/java/sca/modules/assembly-xsd/src/main/resources/sca-1.1-cd03.xsd
+++ b/java/sca/modules/assembly-xsd/src/main/resources/sca-1.1-cd03.xsd
@@ -39,4 +39,6 @@
<include schemaLocation="sca-contribution-c-1.1-cd02.xsd"/>
<include schemaLocation="sca-contribution-java-1.1-cd01.xsd"/>
+ <include schemaLocation="sca-jee-1.1-wd03.xsd"/>
+
</schema>
diff --git a/java/sca/modules/assembly-xsd/src/main/resources/sca-jee-1.1-wd03.xsd b/java/sca/modules/assembly-xsd/src/main/resources/sca-jee-1.1-wd03.xsd
new file mode 100644
index 0000000000..ac371d7c53
--- /dev/null
+++ b/java/sca/modules/assembly-xsd/src/main/resources/sca-jee-1.1-wd03.xsd
@@ -0,0 +1,52 @@
+<?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.xsd"/>
+
+ <element name="implementation.ejb" type="sca:EJBImplementation"
+ substitutionGroup="sca:implementation"/>
+ <complexType name="EJBImplementation">
+ <complexContent>
+ <extension base="sca:Implementation">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="ejb-link" type="string" use="required"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="implementation.web" type="sca:WebImplementation"
+ substitutionGroup="sca:implementation"/>
+ <complexType name="WebImplementation">
+ <complexContent>
+ <extension base="sca:Implementation">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="web-uri" type="string" use="required"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="implementation.jee" type="sca:JEEImplementation"
+ substitutionGroup="sca:implementation"/>
+ <complexType name="JEEImplementation">
+ <complexContent>
+ <extension base="sca:Implementation">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="archive" type="string" use="required"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>