summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/assembly-xsd/src/main
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-03-18 01:34:30 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-03-18 01:34:30 +0000
commita68bdb7a2067a48770c29cf163043f8bea77782f (patch)
tree68bb209e346ad8c0431ef896ed785ce2081eef4d /sca-java-2.x/trunk/modules/assembly-xsd/src/main
parent7d615e4e5840cf59d3be9a83eec5dcaa29660e5d (diff)
TUSCANY-3453 - Updates to binding-jms tuscany specific schema and some workarounds on the main binding-jms schema to better cope with extensibility for wireFormats and operatorSelector
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly-xsd/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd9
-rw-r--r--sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd (renamed from sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd)54
-rw-r--r--sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd1
3 files changed, 34 insertions, 30 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
index 85895f65f6..e236f6cda3 100644
--- a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
+++ b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
@@ -28,8 +28,8 @@
<element name="operationProperties"
type="sca:JMSOperationProperties"
minOccurs="0" maxOccurs="unbounded"/>
- <any namespace="##other" processContents="lax"
- minOccurs="0" maxOccurs="unbounded"/>
+ <!-- any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded"/ -->
</sequence>
<attribute name="correlationScheme" type="QName"
default="sca:messageId"/>
@@ -69,8 +69,9 @@
</complexType>
<complexType name="JMSConnectionFactory">
- <sequence> <element name="property" type="sca:BindingProperty"
- minOccurs="0" maxOccurs="unbounded"/>
+ <sequence>
+ <element name="property" type="sca:BindingProperty"
+ minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="jndiName" type="anyURI" use="required"/>
<attribute name="create" type="sca:JMSCreateResource"
diff --git a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
index e5530105e4..f3af6dd4d8 100644
--- a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd
+++ b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
@@ -18,14 +18,14 @@
* under the License.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0"
- xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
- elementFormDefault="qualified">
+ targetNamespace="http://tuscany.apache.org/xmlns/sca/1.1"
+ xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
+ elementFormDefault="qualified">
- <import namespace="http://www.osoa.org/xmlns/sca/1.0" schemaLocation="sca-binding-jms.xsd"/>
+ <import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" schemaLocation="sca-binding-jms-1.1-cd04.xsd"/>
- <include schemaLocation="tuscany-core.xsd"/>
+ <import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" schemaLocation="sca-1.1-cd05.xsd"/>
<!-- these schema types are not actually used at the moment as we rely on
any elements in the underlying JMS binding schema to pull in wireFormat
@@ -34,10 +34,10 @@
<!-- wire formats -->
-
+ <!-- -->
<complexType name="WireFormatJMSDefaultType">
<complexContent>
- <extension base="t:WireFormat">
+ <extension base="sca:WireFormatType">
<attribute name="sendFormat" default="bytes">
<simpleType>
<restriction base="string">
@@ -51,47 +51,47 @@
</complexType>
<element name="wireFormat.jmsdefault"
type="t:WireFormatJMSDefaultType"
- substitutionGroup="t:wireFormat"/>
+ substitutionGroup="sca:wireFormat"/>
<complexType name="WireFormatJMSTextType">
<complexContent>
- <extension base="t:WireFormat"/>
+ <extension base="sca:WireFormatType"/>
</complexContent>
</complexType>
<element name="wireFormat.jmsText"
type="t:WireFormatJMSTextType"
- substitutionGroup="t:wireFormat"/>
+ substitutionGroup="sca:wireFormat"/>
<complexType name="WireFormatJMSTextXMLType">
<complexContent>
- <extension base="t:WireFormat"/>
+ <extension base="sca:WireFormatType"/>
</complexContent>
</complexType>
<element name="wireFormat.jmsTextXML"
type="t:WireFormatJMSTextXMLType"
- substitutionGroup="t:wireFormat"/>
+ substitutionGroup="sca:wireFormat"/>
<complexType name="WireFormatJMSBytesType">
<complexContent>
- <extension base="t:WireFormat"/>
+ <extension base="sca:WireFormatType"/>
</complexContent>
</complexType>
<element name="wireFormat.jmsBytes"
type="t:WireFormatJMSBytesType"
- substitutionGroup="t:wireFormat"/>
+ substitutionGroup="sca:wireFormat"/>
<complexType name="WireFormatJMSBytesXMLType">
<complexContent>
- <extension base="t:WireFormat"/>
+ <extension base="sca:WireFormatType"/>
</complexContent>
</complexType>
<element name="wireFormat.jmsBytesXML"
type="t:WireFormatJMSBytesXMLType"
- substitutionGroup="t:wireFormat"/>
+ substitutionGroup="sca:wireFormat"/>
<complexType name="WireFormatJMSObjectType">
<complexContent>
- <extension base="t:WireFormat">
+ <extension base="sca:WireFormatType">
<attribute name="wrapSingle" default="false">
<simpleType>
<restriction base="string">
@@ -105,28 +105,30 @@
</complexType>
<element name="wireFormat.jmsObject"
type="t:WireFormatJMSObjectType"
- substitutionGroup="t:wireFormat"/>
+ substitutionGroup="sca:wireFormat"/>
+ <!-- -->
-
- <!-- operation selectors -->
+ <!-- operation selectors -->
+ <!-- -->
<complexType name="OperationSelectorJMSDefaultType">
<complexContent>
- <extension base="t:OperationSelector"/>
+ <extension base="sca:OperationSelectorType"/>
</complexContent>
</complexType>
<element name="operationSelector.jmsdefault"
type="t:OperationSelectorJMSDefaultType"
- substitutionGroup="t:operationSelector"/>
+ substitutionGroup="sca:operationSelector"/>
<complexType name="OperationSelectorJMSUserPropType">
<complexContent>
- <extension base="t:OperationSelector">
+ <extension base="sca:OperationSelectorType">
<attribute name="propertyName" type="string"/>
</extension>
</complexContent>
</complexType>
<element name="operationSelector.jmsUserProp"
type="t:OperationSelectorJMSUserPropType"
- substitutionGroup="t:operationSelector"/>
-
+ substitutionGroup="sca:operationSelector"/>
+
+ <!-- -->
</schema>
diff --git a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd
index c51071ac58..1d98d72b90 100644
--- a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd
+++ b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd
@@ -26,6 +26,7 @@
<import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" schemaLocation="sca-1.1-cd05.xsd"/>
<include schemaLocation="tuscany-sca-1.1-binding-atom.xsd"/>
+ <!-- include schemaLocation="tuscany-sca-1.1-binding-jms.xsd"/ -->
<include schemaLocation="tuscany-sca-1.1-binding-http.xsd"/>
<include schemaLocation="tuscany-sca-1.1-binding-jsonrpc.xsd"/>
<include schemaLocation="tuscany-sca-1.1-binding-rmi.xsd"/>