BATCH-1008: Changed order of elements in <split/> so that transitions are at the bottom.

This commit is contained in:
dhgarrette
2009-03-13 22:07:39 +00:00
parent 9e02c2e75a
commit 143d003435
2 changed files with 5 additions and 12 deletions

View File

@@ -213,7 +213,7 @@
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="transitionWithNextType">
<xsd:extension base="nextType">
<xsd:sequence minOccurs="2" maxOccurs="unbounded">
<xsd:element name="flow" type="flowType">
<xsd:annotation>
@@ -222,6 +222,7 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="transitions" />
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID" use="required" />
<xsd:attribute name="task-executor" type="xsd:string" use="optional">
@@ -537,14 +538,6 @@
<xsd:group ref="transitions" />
</xsd:complexType>
<xsd:complexType name="transitionWithNextType">
<xsd:complexContent>
<xsd:extension base="nextType">
<xsd:group ref="transitions" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="listenerType">
<xsd:attribute name="id" type="xsd:ID" />
<xsd:attribute name="ref" type="xsd:string">

View File

@@ -12,9 +12,6 @@
<split id="split1">
<next on="FAILED" to="s3"/>
<fail on="COMPLETED" />
<flow>
<step id="s1" ref="step1"/>
</flow>
@@ -23,6 +20,9 @@
<step id="fail" ref="failingStep"/>
</flow>
<next on="FAILED" to="s3"/>
<fail on="COMPLETED" />
</split>
<step id="s3" ref="step3"/>