Pure ODD test

Table of contents

1. Elements

1.1. <bit>

<bit> mixed content, text or one element
Module derived-module-odd-1
Contained by
derived-module-odd-1: stuff t1 t2 t3 t4 t5 t6
May contain
derived-module-odd-1: bob
character data
Schematron
<s:report test="count(bob) !=1">Only one bob allowed</s:report>
Content model
<content>
 <alternate minOccurs="1" maxOccurs="1">
  <textNode/>
  <elementRef key="bob" maxOccurs="1"/>
 </alternate>
</content>
    
Schema Declaration
element bit { text | bob }

1.2. <bob>

<bob> empty element with attribute
Module derived-module-odd-1
Attributes
href fournit l' URI de l'objet cible
Status Optional
Datatype anyURI
Contained by
derived-module-odd-1: bit stuff t1 t2 t3 t4 t5 t6
May contain Empty element
Content model
<content/>
    
Schema Declaration
element bob { attribute href { xsd:anyURI }?, empty }

1.3. <choice>

<choice> dummy
Module derived-module-odd-1
Contained by
derived-module-odd-1: t7 t8
May contain Empty element
Content model
<content/>
    
Schema Declaration
element choice { empty }

1.4. <orgName>

<orgName> dummy
Module derived-module-odd-1
Contained by
derived-module-odd-1: t7 t8
May contain Empty element
Content model
<content/>
    
Schema Declaration
element orgName { empty }

1.5. <persName>

<persName> dummy
Module derived-module-odd-1
Contained by
derived-module-odd-1: t7 t8
May contain Empty element
Content model
<content/>
    
Schema Declaration
element persName { empty }

1.6. <seg>

<seg> dummy
Module derived-module-odd-1
Contained by
derived-module-odd-1: t7 t8
May contain Empty element
Content model
<content/>
    
Schema Declaration
element seg { empty }

1.7. <stuff>

<stuff> simple elements
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: bit bob thingummy
Content model
<content>
 <alternate minOccurs="1"
  maxOccurs="unbounded">
  <elementRef key="bit"/>
  <elementRef key="bob"/>
  <elementRef key="thingummy"/>
 </alternate>
</content>
    
Schema Declaration
element stuff { ( bit | bob | thingummy )+ }

1.8. <t1>

<t1> mixed content with multiple elements
Module derived-module-odd-1
Contained by
derived-module-odd-1: t1 t4
May contain
derived-module-odd-1: bit bob t1
character data
Content model
<content>
 <alternate minOccurs="1" maxOccurs="1">
  <textNode/>
  <elementRef key="bit"/>
  <elementRef key="bob"/>
  <elementRef key="t1"/>
 </alternate>
</content>
    
Schema Declaration
element t1 { text | bit | bob | t1 }

1.9. <t2>

<t2> mixed content with *Occurs
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: bit bob
character data
Content model
<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">
  <textNode/>
  <elementRef key="bit"/>
  <elementRef key="bob"/>
 </alternate>
</content>
    
Schema Declaration
element t2 { ( text | bit | bob )* }

1.10. <t3>

<t3> mixed content with only minOccurs
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: bit bob
character data
Content model
<content>
 <alternate minOccurs="0" maxOccurs="1">
  <textNode/>
  <elementRef key="bit"/>
  <elementRef key="bob"/>
 </alternate>
</content>
    
Schema Declaration
element t3 { ( text | bit | bob )? }

1.11. <t4>

<t4> mixed content with only maxOccurs
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: bit bob t1
character data
Content model
<content>
 <alternate minOccurs="1"
  maxOccurs="unbounded">
  <textNode/>
  <elementRef key="bit"/>
  <elementRef key="bob"/>
  <elementRef key="t1"/>
 </alternate>
</content>
    
Schema Declaration
element t4 { ( text | bit | bob | t1 )+ }

1.12. <t5>

<t5> sequence within alternation
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: bit bob
character data
Content model
<content>
 <alternate minOccurs="1" maxOccurs="1">
  <textNode/>
  <sequence minOccurs="1"
   maxOccurs="unbounded">
   <elementRef key="bit"/>
   <elementRef key="bob"/>
  </sequence>
 </alternate>
</content>
    
Schema Declaration
element t5 { text | ( bit, bob )+ }

1.13. <t6>

<t6> sequence with textNode
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: bit bob
character data
Content model
<content>
 <sequence minOccurs="0" maxOccurs="1">
  <textNode/>
  <elementRef key="bit"/>
  <elementRef key="bob"/>
 </sequence>
</content>
    
Schema Declaration
element t6 { ( text, bit, bob )? }

1.14. <t7>

<t7> sequence of elements
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: choice orgName persName seg trait
Content model
<content>
 <sequence minOccurs="1" maxOccurs="1">
  <elementRef key="orgName" minOccurs="0"/>
  <elementRef key="persName" minOccurs="0"/>
  <elementRef key="choice" minOccurs="0"/>
  <elementRef key="seg" minOccurs="0"/>
  <elementRef key="trait" minOccurs="0"/>
 </sequence>
</content>
    
Schema Declaration
element t7 { orgName?, persName?, choice?, seg?, trait? }

1.15. <t8>

<t8> sequence with textnode, and minOccurs on elements
Module derived-module-odd-1
Contained by
May contain
derived-module-odd-1: choice orgName persName seg trait
character data
Content model
<content>
 <sequence minOccurs="1" maxOccurs="1">
  <textNode/>
  <elementRef key="orgName" minOccurs="0"/>
  <elementRef key="persName" minOccurs="0"/>
  <elementRef key="choice" minOccurs="0"/>
  <elementRef key="seg" minOccurs="0"/>
  <elementRef key="trait" minOccurs="0"/>
 </sequence>
</content>
    
Schema Declaration
element t8 { text, orgName?, persName?, choice?, seg?, trait? }

1.16. <thingummy>

<thingummy> element with just text
Module derived-module-odd-1
Contained by
derived-module-odd-1: stuff
May contain Character data only
Content model
<content>
 <textNode/>
</content>
    
Schema Declaration
element thingummy { text }

1.17. <trait>

<trait> dummy
Module derived-module-odd-1
Contained by
derived-module-odd-1: t7 t8
May contain Empty element
Content model
<content/>
    
Schema Declaration
element trait { empty }