1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-28 07:21:26 +03:00
libxml2/test/relaxng/tutor14_1.rng
Daniel Veillard 231d791fc4 fixes a libtool problem on AMD 64bits builds found the validation problem
* libxml.spec.in: fixes a libtool problem on AMD 64bits builds
* relaxng.c: found the validation problem I had with interleave
  when not covering all remaining siblings
* Makefile.am test.relaxng/* result/relaxng/*: augmented the
  testsuite and check the RNG schemas against the RNG schemas
  given in appendix A
Daniel
2003-02-09 14:22:17 +00:00

54 lines
1.3 KiB
Plaintext

<element name="html" xmlns="http://relaxng.org/ns/structure/1.0">
<element name="head">
<element name="title">
<text/>
</element>
</element>
<element name="body">
<element name="table">
<attribute name="class">
<value>addressBook</value>
</attribute>
<oneOrMore>
<element name="tr">
<attribute name="class">
<value>card</value>
</attribute>
<element name="td">
<attribute name="class">
<value>name</value>
</attribute>
<interleave>
<text/>
<optional>
<element name="span">
<attribute name="class">
<value>givenName</value>
</attribute>
<text/>
</element>
</optional>
<optional>
<element name="span">
<attribute name="class">
<value>familyName</value>
</attribute>
<text/>
</element>
</optional>
</interleave>
</element>
<element name="td">
<attribute name="class">
<value>email</value>
</attribute>
<text/>
</element>
</element>
</oneOrMore>
</element>
</element>
</element>