tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From becke...@apache.org
Subject svn commit: r747933 - /tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
Date Wed, 25 Feb 2009 21:55:02 GMT
Author: beckerdo
Date: Wed Feb 25 21:55:02 2009
New Revision: 747933

URL: http://svn.apache.org/viewvc?rev=747933&view=rev
Log:
TUSCANY-2856 'property' validation conflicts with osoa spec

Modified:
    tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd

Modified: tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd?rev=747933&r1=747932&r2=747933&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
(original)
+++ tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
Wed Feb 25 21:55:02 2009
@@ -56,8 +56,8 @@
 
    <complexType name="Destination">
       <sequence>
-         <element name="property" type="string" 
-                  minOccurs="0" maxOccurs="unbounded"/>
+         <element name="property" type="sca:BindingProperty"
+			minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" type="anyURI" use="required"/>
       <attribute name="type" use="optional" default="queue">
@@ -72,19 +72,20 @@
                  use="optional" default="ifnotexist"/>
    </complexType>
 
-   <complexType name="ConnectionFactory">
-    	<sequence>          <element name="property" type="string" 
-                  minOccurs="0" maxOccurs="unbounded"/>
-    	</sequence>
-    	<attribute name="name" type="anyURI" use="required"/>
-    	<attribute name="create" type="sca:CreateResource" 
-                 use="optional" default="ifnotexist"/>
-   </complexType>
+	<complexType name="ConnectionFactory">
+		<sequence>
+			<element name="property" type="sca:BindingProperty"
+				minOccurs="0" maxOccurs="unbounded"/>
+		</sequence>
+		<attribute name="name" type="anyURI" use="required"/>
+		<attribute name="create" type="sca:CreateResource" use="optional" 
+			default="ifnotexist"/>
+	</complexType>
 
    <complexType name="ActivationSpec">
       <sequence>
-         <element name="property" type="string" 
-                  minOccurs="0" maxOccurs="unbounded"/>
+			<element name="property" type="sca:BindingProperty"
+				minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" type="anyURI" use="required"/>
       <attribute name="create" type="sca:CreateResource"
@@ -102,8 +103,8 @@
 
    <complexType name="Headers">
       <sequence>
-         <element name="property" type="string" 
-                  minOccurs="0" maxOccurs="unbounded"/>
+			<element name="property" type="sca:BindingProperty"
+				minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="JMSType" type="string"/>
       <attribute name="JMSCorrelationID" type="string"/>
@@ -114,23 +115,32 @@
 
    <complexType name="ResourceAdapter">
       <sequence>
-         <element name="property" type="string" 
-                  minOccurs="0" maxOccurs="unbounded"/>
+			<element name="property" type="sca:BindingProperty"
+				minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" type="string" use="required"/>
    </complexType>
 
-   <complexType name="OperationProperties">
-      <sequence>
-         <element name="property" type="string" 
-                  minOccurs="0" maxOccurs="unbounded"/>
-         <element name="headers" type="sca:Headers"/>
-      </sequence>
-      <attribute name="name" type="string" use="required"/>
-      <attribute name="nativeOperation" type="string"/>
-   </complexType>
+	<complexType name="OperationProperties">
+		<sequence>
+			<element name="property" type="sca:BindingProperty"
+				minOccurs="0" maxOccurs="unbounded"/>
+			<element name="headers" type="sca:Headers"/>
+		</sequence>
+		<attribute name="name" type="string" use="required"/>
+		<attribute name="nativeOperation" type="string"/>
+	</complexType>
 
    <element name="binding.jms" type="sca:JMSBinding" 
             substitutionGroup="sca:binding"/>
+
+    <complexType name="BindingProperty">
+        <simpleContent>
+            <extension base="string">
+                <attribute name="name" type="NMTOKEN"/>
+                <attribute name="type" type="string" use="optional" default="xs:string"/>
+            </extension>
+        </simpleContent>
+    </complexType>
                        
 </schema>



Mime
View raw message