summaryrefslogtreecommitdiffstats
path: root/sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-23 08:00:07 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-23 08:00:07 +0000
commita96291b78e2ed8eccab73c34d40e39c8461cf784 (patch)
tree44b842974e8eb002ec75980ea831dddafe481d10 /sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd
parent25ecf5fd25c607f964959e562a8ebb4c211fe5b2 (diff)
One more test with an sca trunk in the sandbox
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757343 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd')
-rw-r--r--sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd42
1 files changed, 42 insertions, 0 deletions
diff --git a/sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd b/sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd
new file mode 100644
index 0000000000..c214f7c37b
--- /dev/null
+++ b/sandbox/ant/sca/trunk/modules/assembly-xsd/src/main/resources/sca-interface-cpp-1.1-cd02.xsd
@@ -0,0 +1,42 @@
+<?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"
+ targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ elementFormDefault="qualified">
+
+ <include schemaLocation="sca-core-1.1-cd03.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" />
+ <anyAttribute namespace="##other" processContents="lax" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="CPPFunction">
+ <attribute name="name" type="NCName" use="required" />
+ <attribute name="oneWay" type="boolean" use="optional" />
+ <anyAttribute namespace="##other" processContents="lax" />
+ </complexType>
+
+</schema>