diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-02 02:56:25 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-02 02:56:25 +0000 |
commit | c28aa6b49186282e660898176e8d279650281b3c (patch) | |
tree | 35d1966a5a1c7549e5dd7428d75f1fe8d2bca7d7 /sca-cpp/trunk/xsd/sca-implementation-cpp-1.1-cd04.xsd | |
parent | aab6c4af74817a50306bdc80bfa9151addec1785 (diff) |
Upgrade SCDL schemas to cd05 level. Remove unused and unsupported schemas. Add SCDL schema validation test case.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@950343 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/xsd/sca-implementation-cpp-1.1-cd04.xsd | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sca-cpp/trunk/xsd/sca-implementation-cpp-1.1-cd04.xsd b/sca-cpp/trunk/xsd/sca-implementation-cpp-1.1-cd04.xsd index b71eda300d..b54ced4e4e 100644 --- a/sca-cpp/trunk/xsd/sca-implementation-cpp-1.1-cd04.xsd +++ b/sca-cpp/trunk/xsd/sca-implementation-cpp-1.1-cd04.xsd @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Copyright(C) OASIS(R) 2006,2009. All Rights Reserved. +<!-- Copyright(C) OASIS(R) 2006,2010. All Rights Reserved. OASIS trademark, IPR and other policies apply. --> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" elementFormDefault="qualified"> - <include schemaLocation="sca-core-1.1-cd04.xsd" /> + <include schemaLocation="sca-core-1.1-cd05.xsd" /> <element name="implementation.cpp" type="sca:CPPImplementation" substitutionGroup="sca:implementation" /> @@ -32,7 +32,6 @@ use="optional" /> <attribute name="allowsPassByReference" type="boolean" use="optional" /> - <anyAttribute namespace="##other" processContents="lax" /> </extension> </complexContent> </complexType> @@ -45,7 +44,17 @@ </simpleType> <complexType name="CPPImplementationFunction"> + <sequence> + <choice minOccurs="0" maxOccurs="unbounded"> + <element ref="sca:requires"/> + <element ref="sca:policySetAttachment"/> + </choice> + <any namespace="##other" processContents="lax" minOccurs="0" + maxOccurs="unbounded" /> + </sequence> <attribute name="name" type="NCName" use="required" /> + <attribute name="requires" type="sca:listOfQNames" use="optional" /> + <attribute name="policySets" type="sca:listOfQNames" use="optional" /> <attribute name="allowsPassByReference" type="boolean" use="optional" /> <anyAttribute namespace="##other" processContents="lax" /> |