diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-26 07:46:08 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-26 07:46:08 +0000 |
commit | 6865c59e74f19ed6057d03583944b47abd6e036e (patch) | |
tree | 3324c11c7ca4f5ca12f15619ce30e9824e198480 /sca-java-2.x/branches/2.0-Beta1/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd04.xsd | |
parent | 0d6d7922ed17cca55ec36ff2626d1080e76d6d13 (diff) |
Create branch for next release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/branches/2.0-Beta1/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd04.xsd | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta1/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd04.xsd b/sca-java-2.x/branches/2.0-Beta1/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd04.xsd new file mode 100644 index 0000000000..b07bf01f1d --- /dev/null +++ b/sca-java-2.x/branches/2.0-Beta1/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd04.xsd @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> + <!-- + 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-cd05.xsd" /> + + <element name="interface.cpp" type="sca:CPPInterface" + substitutionGroup="sca:interface" /> + + <complexType name="CPPInterface"> + <complexContent> + <extension base="sca:Interface"> + <sequence> + <element name="function" type="sca:CPPFunction" minOccurs="0" + maxOccurs="unbounded" /> + <element name="callbackFunction" type="sca:CPPFunction" + minOccurs="0" maxOccurs="unbounded" /> + <any namespace="##other" processContents="lax" minOccurs="0" + maxOccurs="unbounded" /> + </sequence> + <attribute name="header" type="string" use="required" /> + <attribute name="class" type="Name" use="required" /> + <attribute name="callbackHeader" type="string" use="optional" /> + <attribute name="callbackClass" type="Name" use="optional" /> + </extension> + </complexContent> + </complexType> + + <complexType name="CPPFunction"> + <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="oneWay" type="boolean" use="optional" /> + <attribute name="exclude" type="boolean" use="optional" /> + <anyAttribute namespace="##other" processContents="lax" /> + </complexType> + +</schema> |