Cleaned up XSD to remove dependency on the order in which inner beans and pollers are defined. Added test case.

This commit is contained in:
Oleg Zhurakousky
2009-07-09 15:50:39 +00:00
parent 798fc39290
commit 5bcd33ea05
3 changed files with 37 additions and 6 deletions

View File

@@ -1061,9 +1061,11 @@
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="handlerEndpointType">
<xsd:choice>
<xsd:element ref="beans:bean" minOccurs="0" maxOccurs="1" />
</xsd:choice>
<xsd:sequence>
<xsd:element ref="beans:bean" minOccurs="0" maxOccurs="1" />
<xsd:any processContents="strict" namespace="http://www.springframework.org/schema/integration"
minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="completion-strategy" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
@@ -1285,9 +1287,11 @@
<xsd:complexType name="innerEndpointDefinitionAware">
<xsd:complexContent>
<xsd:extension base="handlerEndpointType">
<xsd:choice>
<xsd:element ref="beans:bean" minOccurs="0" maxOccurs="1" />
</xsd:choice>
<xsd:sequence>
<xsd:element ref="beans:bean" minOccurs="0" maxOccurs="1" />
<xsd:any processContents="strict" namespace="http://www.springframework.org/schema/integration"
minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>