(unknown project)

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
Declaration
element bit { text | bob }
Schematron
<s:report test="count(bob) !=1">Only one bob allowed</s:report>

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
xsd:anyURI
Contained by
derived-module-odd-1: bit stuff t1 t2 t3 t4 t5 t6
May contain Empty element
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Declaration
element trait { empty }