diff options
author | beckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-25 21:55:02 +0000 |
---|---|---|
committer | beckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-25 21:55:02 +0000 |
commit | 00ab19fdc4602f919b3737927f4dd35f8f1a3472 (patch) | |
tree | a114771f6ac2113621c8fcdd9daef39fd6c6a880 | |
parent | 4e912ffb6c089c21862594c2a1614a04011480f4 (diff) |
TUSCANY-2856 'property' validation conflicts with osoa spec
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@747933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd | 60 |
1 files changed, 35 insertions, 25 deletions
diff --git a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd index aa5951a104..b315ca0ad1 100644 --- a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd +++ b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd @@ -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> |