INT-1647 fixed core schema to work with alternative XML parsers (continued)

This commit is contained in:
Oleg Zhurakousky
2011-04-29 16:18:03 -04:00
parent 679cf9b6ec
commit a42a5a346e
2 changed files with 2 additions and 2 deletions

View File

@@ -680,7 +680,7 @@
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:choice>
<xsd:choice minOccurs="0" maxOccurs="1" >
<xsd:sequence>
<xsd:element name="poller" type="basePollerType" />
<xsd:element ref="beans:bean" minOccurs="0" maxOccurs="1" />

View File

@@ -42,7 +42,7 @@ public class InboundChannelAdapterWithDefaultPollerTests {
private SourcePollingChannelAdapter adapter;
@Test @Ignore
@Test
public void verifyDefaultPollerInUse() {
Trigger trigger = TestUtils.getPropertyValue(adapter, "trigger", Trigger.class);
assertEquals(PeriodicTrigger.class, trigger.getClass());