Ticket #994: info_xsd-multiInfo-outOfOrder.patch

File info_xsd-multiInfo-outOfOrder.patch, 1.5 KB (added by https://www.google.com/accounts/o8/id?id=AItOawkfHvWdYf7g8kSZA32s7dhK0Xig9JKo_CA, 12 years ago)
  • schemas/info.xsd

    diff --git a/schemas/info.xsd b/schemas/info.xsd
    a b  
    1717    <xsd:attribute name='paranoid' type='xsd:string'/> 
    1818  </xsd:complexType> 
    1919 
    20   <xsd:complexType name='GroupType'> 
    21     <xsd:choice minOccurs='1' maxOccurs='1'> 
    22       <xsd:element name='Info' type='InfoType'/> 
    23       <xsd:element name='Group' type='GroupType' minOccurs='0' maxOccurs='unbounded'/> 
    24     </xsd:choice> 
    25     <xsd:attribute type='xsd:string' name='name' use='required'/> 
    26     <xsd:attribute type='xsd:string' name='negate' /> 
     20  <xsd:complexType name='RContainerType'> 
     21    <xsd:choice minOccurs='0' maxOccurs='unbounded'>  
     22       <xsd:element name='Info' type='InfoType'/> 
     23       <xsd:element name='Group' type='RContainerType'/> 
     24       <xsd:element name='Client' type='RContainerType'/> 
     25    </xsd:choice>  
     26    <xsd:attribute name='name' type='xsd:string' use='required'/> 
     27    <xsd:attribute name='negate' type='xsd:string'/> 
    2728  </xsd:complexType> 
    2829 
    2930  <xsd:element name='FileInfo'> 
    30     <xsd:complexType> 
    31       <xsd:choice minOccurs='0' maxOccurs='unbounded'> 
    32         <xsd:element name='Group' type='GroupType'/> 
    33         <xsd:element name='Info' type='InfoType'/> 
    34       </xsd:choice> 
    35     </xsd:complexType> 
     31   <xsd:complexType> 
     32    <xsd:choice minOccurs='0' maxOccurs='unbounded'>  
     33       <xsd:element name='Info' type='InfoType'/> 
     34       <xsd:element name='Group' type='RContainerType'/> 
     35       <xsd:element name='Client' type='RContainerType'/> 
     36    </xsd:choice>  
     37   </xsd:complexType> 
    3638  </xsd:element> 
    3739</xsd:schema>