3.1.4.1.3.28 orType Complex Type

The orType complex type specifies a logical OR for rule predicates. This type extends the predicateElementMultipleChildType complex type, as specified in section 3.1.4.1.3.35.<29>

 <xs:complexType name="orType">
   <xs:complexContent>
     <xs:extension base="predicateElementMultipleChildType">
       <xs:attribute name="earlyOut" use="optional">
         <xs:simpleType>
           <xs:restriction base="xs:string">
             <!-- Case insensitive: true, yes, y, 1, false, no, n, 0-->
             <xs:pattern 
                 value="([Tt][Rr][Uu][Ee])|([Yy]([Ee][Ss])?)|([1])|
                      ([Ff][Aa][Ll][Ss][Ee])|([Nn][Oo]?)|([0])" />
           </xs:restriction>
         </xs:simpleType>
       </xs:attribute>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

The following table lists the attribute of the orType complex type

Attribute

Type

Description

earlyOut

xs:string ([XMLSCHEMA2] section 3.2.1)

Specifies whether the logical OR acts as an early out operator. This attribute is optional. The following are the valid values for this attribute:

§ true

§ yes

§ y

§ 1

§ false

§ no

§ n

§ 0

The early out operator can be used to capture additional information after the OR operator evaluates to true.