diff options
author | rsivaram <rsivaram@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-16 11:51:49 +0000 |
---|---|---|
committer | rsivaram <rsivaram@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-16 11:51:49 +0000 |
commit | b771a05508db61cb1748d2fed0eb92daf173ff92 (patch) | |
tree | 4c7f9ca916e029f8ee4ddf65e263c1960e863879 /sandbox/event/modules/assembly-xsd/src/main/resources/sca-implementation-cpp.xsd | |
parent | 10682087657ed4bae47b1f59f51e5be669b44d7a (diff) |
Copy modules for event prototype
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@705212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/event/modules/assembly-xsd/src/main/resources/sca-implementation-cpp.xsd | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sandbox/event/modules/assembly-xsd/src/main/resources/sca-implementation-cpp.xsd b/sandbox/event/modules/assembly-xsd/src/main/resources/sca-implementation-cpp.xsd new file mode 100644 index 0000000000..6f1cf14a4b --- /dev/null +++ b/sandbox/event/modules/assembly-xsd/src/main/resources/sca-implementation-cpp.xsd @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2006 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.osoa.org/xmlns/sca/1.0" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + xmlns:sdo="commonj.sdo/XML" + elementFormDefault="qualified"> + + <include schemaLocation="sca-core.xsd"/> + + <element name="implementation.cpp" type="sca:CPPImplementation" substitutionGroup="sca:implementation" /> + <complexType name="CPPImplementation"> + <complexContent> + <extension base="sca:Implementation"> + <sequence> + <element name="method" type="sca:CPPImplementationMethod" minOccurs="0" maxOccurs="unbounded" /> + <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="library" type="NCName" use="required"/> + <attribute name="header" type="NCName" use="required"/> + <attribute name="path" type="NCName" use="optional"/> + <attribute name="class" type="Name" use="optional"/> + <attribute name="scope" type="sca:CPPImplementationScope" use="optional"/> + <attribute name="eagerInit" type="boolean" use="optional"/> + <attribute name="allowsPassByReference" type="boolean" use="optional"/> + <attribute name="conversationMaxAge" type="string" use="optional"/> + <attribute name="conversationMaxIdle" type="string" use="optional"/> + <attribute name="conversationSinglePrincipal" type="boolean" use="optional"/> + <anyAttribute namespace="##any" processContents="lax"/> + </extension> + </complexContent> + </complexType> + + <simpleType name="CPPImplementationScope"> + <restriction base="string"> + <enumeration value="stateless"/> + <enumeration value="composite"/> + <enumeration value="request"/> + <enumeration value="converstion"/> + </restriction> + </simpleType> + + <complexType name="CPPImplementationMethod"> + <complexContent> + <attribute name="name" type="NCName" use="required"/> + <attribute name="allowsPassByReference" type="boolean" use="optional"/> + <anyAttribute namespace="##any" processContents="lax"/> + </complexContent> + </complexType> + +</schema> + + |