Author: lresende
Date: Thu Mar 18 01:34:30 2010
New Revision: 924587

URL: http://svn.apache.org/viewvc?rev=924587&view=rev
Log:
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

Added:
    
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
   (contents, props changed)
      - copied, changed from r924586, 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd
Removed:
    
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd
Modified:
    
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
    
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd

Modified: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd?rev=924587&r1=924586&r2=924587&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
 (original)
+++ 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/sca-binding-jms-1.1-cd04.xsd
 Thu Mar 18 01:34:30 2010
@@ -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" 

Copied: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
 (from r924586, 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd)
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd?p2=tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd&p1=tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd&r1=924586&r2=924587&rev=924587&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd
 (original)
+++ 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
 Thu Mar 18 01:34:30 2010
@@ -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>

Propchange: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Mar 18 01:34:30 2010
@@ -0,0 +1 @@
+/tuscany/branches/sca-java-1.3/modules/assembly-xsd/src/main/resources/tuscany-sca-binding-jms.xsd:671193

Propchange: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-binding-jms.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd?rev=924587&r1=924586&r2=924587&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd
 (original)
+++ 
tuscany/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd
 Thu Mar 18 01:34:30 2010
@@ -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"/>


Reply via email to