2 <!ENTITY dii
"<ดี/>">
5 <author>James Clark
</author>
6 <email>jjc@jclark.com
</email>
7 <documentation>For October
26 version of the spec.
</documentation>
11 <documentation>Various possible syntax errors.
</documentation>
21 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
36 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
47 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
56 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
66 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
82 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
98 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
113 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
121 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo" extra=
"bar">
129 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
139 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
149 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
162 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
179 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
183 <parentRef name=
"foo">
199 <documentation>Tests for obsolete syntax
</documentation>
203 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
215 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo" ns=
"http://www.example.com">
216 <attribute name=
"bar" global=
"true">
225 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
236 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
248 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
249 <data type=
"token" key=
"foo"/>
256 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
257 <data type=
"token" keyRef=
"foo"/>
264 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
274 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
283 <documentation>Tests for missing attributes and child elements
</documentation>
287 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
294 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
302 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
309 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
317 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
325 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
333 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
341 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
349 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
357 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
365 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
373 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
381 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
390 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
401 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
412 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
422 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
430 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
440 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
450 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
463 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
471 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
484 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
501 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
516 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
534 <documentation>Checking of ns attribute
</documentation>
538 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"">
548 <documentation>No checking of ns attribute is performed
</documentation>
550 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"DAV:">
560 <documentation>No checking of ns attribute is performed
</documentation>
562 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"xyzzy">
569 <documentation>No checking of ns attribute is performed
</documentation>
571 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"bad_scheme://">
578 <documentation>Checking of datatypeLibrary attribute
</documentation>
581 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
583 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"foo_bar:xyzzy">
590 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
592 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"foobar:xyzzy">
602 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
604 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"http:ok">
614 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
616 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"foo:">
623 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
625 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"http://www.example.com/%">
632 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
634 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"http://www.example.com/%xx">
641 <documentation>Value of datatypeLibrary attribute must conform to RFC
2396</documentation>
643 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"http://www.example.com/%Aa">
653 <documentation>Value of datatypeLibrary attribute must not be relative
</documentation>
655 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"xyzzy">
662 <documentation>Value of datatypeLibrary attribute must not be relative
</documentation>
664 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"xyzzy#foo:bar">
671 <documentation>Value of datatypeLibrary attribute must not be relative
</documentation>
673 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"xyzzy?foo:bar">
680 <documentation>Value of datatypeLibrary attribute must not be relative
</documentation>
682 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"xyzzy/foo:bar">
690 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"foo:bar">
701 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" datatypeLibrary=
"">
712 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
713 <data datatypeLibrary=
"" type=
"string"/>
722 <documentation>Value of datatypeLibrary attribute must not contain fragment identifier
</documentation>
724 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0"
725 datatypeLibrary=
"http://www.example.com#xyzzy">
732 <documentation>Value of datatypeLibrary attribute must not contain fragment identifier
</documentation>
734 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0"
735 datatypeLibrary=
"http://www.example.com#">
742 <documentation>Tests for QName and NCNames in schemas
</documentation>
746 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
747 <element name=
"ดี">
759 <element name=
"ี" xmlns=
"http://relaxng.org/ns/structure/1.0">
767 <element name=
"" xmlns=
"http://relaxng.org/ns/structure/1.0">
775 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
784 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
785 <attribute name=
"ี"/>
793 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
795 <ref name=
"ี"/>
797 <define name=
"ี">
808 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
810 <ref name=
"ดี"/>
812 <define name=
"ดี">
826 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
841 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
856 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0"
857 xmlns:
x=
"http://www.example.com/x">
872 <element xmlns=
"http://relaxng.org/ns/structure/1.0"
873 xmlns:
x=
"http://www.example.com/x"
882 <element xmlns=
"http://relaxng.org/ns/structure/1.0"
883 xmlns:
x=
"http://www.example.com/x"
892 <element xmlns=
"http://relaxng.org/ns/structure/1.0"
893 xmlns:
x=
"http://www.example.com/x"
901 <documentation>Tests for elements that allow only a single pattern child.
</documentation>
905 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
918 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
919 <attribute name=
"bar">
929 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
940 <documentation>Tests for foreign element and attribute handling.
</documentation>
944 <r:element name=
"foo" xmlns:
r=
"http://relaxng.org/ns/structure/1.0" r:
a=
"val">
952 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
953 <name>foo
<eg:comment xmlns:
eg=
"http://www.example.com"/></name>
961 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
962 <value>foo
<eg:comment xmlns:
eg=
"http://www.example.com"/></value>
969 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
970 <data type=
"string"><eg:comment xmlns:
eg=
"http://www.example.com"/></data>
980 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
982 <ext xmlns=
"http://www.example.com">
983 <element xmlns=
"http://relaxng.org/ns/structure/1.0"/>
995 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0" xmlns:
eg=
"http://www.example.com">
1005 <data type=
"string"/>
1024 <section>3</section>
1026 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0" xmlns:
eg=
"http://www.example.com"
1028 <start eg:
comment=
"">
1029 <element eg:
comment=
"">
1030 <name eg:
comment=
"">foo
</name>
1031 <data eg:
comment=
"" type=
"string"/>
1032 <empty eg:
comment=
""/>
1042 <section>3</section>
1044 <rng:grammar xmlns:
rng=
"http://relaxng.org/ns/structure/1.0" xmlns=
"http://www.example.com">
1052 <rng:name>foo
</rng:name>
1054 <rng:data type=
"string"/>
1067 <section>3</section>
1069 <rng:grammar xmlns:
rng=
"http://relaxng.org/ns/structure/1.0">
1077 <rng:name>foo
</rng:name>
1079 <rng:data type=
"string"/>
1094 <section>4</section>
1096 <section>4.2</section>
1098 <section>4.2</section>
1100 <element name=
"

 	foo

 	" xmlns=
"http://relaxng.org/ns/structure/1.0">
1101 <attribute name=
"

 	bar

 	"/>
1109 <section>4.2</section>
1111 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1112 <value type=
"

 	string

 	">bar
</value>
1123 <section>4.2</section>
1125 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1126 <data type=
"

 	string

 	"/>
1134 <section>4.2</section>
1136 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
1137 <name>

 	foo


 	</name>
1138 <attribute><name>

 	bar


 	</name></attribute>
1146 <section>4.2</section>
1148 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1149 <start combine=
"

 	choice

 	">
1150 <ref name=
"

 	x

 	"/>
1155 <define name=
"

 	y

 	">
1157 <start combine=
"

 	interleave

 	">
1158 <parentRef name=
"

 	z

 	"/>
1163 <element name=
"foo">
1175 <section>4.4</section>
1177 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1178 <value datatypeLibrary=
"http://www.example.com/this-does-not-exist">bar
</value>
1200 <section>4.5</section>
1202 <section>4.5</section>
1205 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1211 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0"
1212 xml:
base=
"sub/y" href=
"x"/>
1222 <section>4.5</section>
1224 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"bar">
1230 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"bar">
1236 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1243 <group xmlns=
"http://relaxng.org/ns/structure/1.0" xml:
base=
"sub1/">
1245 <group xml:
base=
"sub2">
1247 <group xml:
base=
"sub3/y">
1248 <externalRef href=
"x"/>
1263 <section>4.5</section>
1265 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1270 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x#foo"/>
1275 <section>4.6</section>
1277 <section>4.6</section>
1279 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1284 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x"/>
1294 <section>4.6</section>
1296 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1301 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x" ns=
"http://www.example.com"/>
1304 <foo xmlns=
"http://www.example.com"/>
1311 <section>4.6</section>
1313 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x"/>
1316 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x"/>
1320 <section>4.6</section>
1322 <start xmlns=
"http://relaxng.org/ns/structure/1.0">
1323 <element name=
"foo">
1329 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x"/>
1333 <section>4.6</section>
1335 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"y"/>
1338 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x"/>
1341 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"x"/>
1345 <section>4.6</section>
1346 <documentation>Same value of href before resolution, but not a loop.
</documentation>
1349 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"sub/x"/>
1353 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1360 <externalRef xmlns=
"http://relaxng.org/ns/structure/1.0" href=
"sub/x"/>
1371 <section>4.7</section>
1373 <section>4.7</section>
1375 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1377 <element name=
"foo">
1384 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1396 <section>4.7</section>
1398 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1400 <element name=
"foo">
1407 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1408 <include href=
"x" ns=
"http://www.example.com"/>
1412 <foo xmlns=
"http://www.example.com"/>
1419 <section>4.7</section>
1421 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1426 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1428 <element name=
"foo">
1435 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1447 <section>4.7</section>
1449 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1454 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1460 <section>4.7</section>
1462 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1467 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1473 <section>4.7</section>
1475 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1480 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1485 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1491 <section>4.7</section>
1494 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1495 <include href=
"sub/x"/>
1500 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1502 <element name=
"foo">
1511 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1512 <include href=
"sub/x"/>
1523 <section>4.7</section>
1525 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1527 <element name=
"foo">
1534 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1544 <section>4.7</section>
1546 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1548 <element name=
"foo">
1555 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1562 <valid><foo/></valid>
1563 <invalid><bar/></invalid>
1566 <section>4.7</section>
1568 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1575 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1578 <element name=
"foo">
1587 <section>4.7</section>
1589 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1596 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1599 <element name=
"foo">
1605 <valid><foo/></valid>
1606 <invalid><bar/></invalid>
1609 <section>4.7</section>
1611 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1612 <define name=
"foo" combine=
"choice">
1613 <element name=
"foo3">
1620 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1625 <define name=
"foo" combine=
"choice">
1626 <element name=
"foo1">
1632 <element name=
"foo2">
1638 <valid><foo1/></valid>
1639 <valid><foo2/></valid>
1640 <invalid><foo3/></invalid>
1643 <section>4.7</section>
1644 <resource name=
"level1.rng">
1645 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1646 <include href=
"level2.rng">
1648 <element name=
"bar">
1655 <resource name=
"level2.rng">
1656 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1658 <element name=
"bar">
1665 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1669 <include href=
"level1.rng">
1671 <element name=
"foo">
1681 <section>4.8</section>
1683 <section>4.8</section>
1685 <element xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"http://www.example.com" name=
"foo">
1686 <attribute name=
"bar" ns=
"http://www.example.com"/>
1690 <eg:foo eg:
bar=
"x" xmlns:
eg=
"http://www.example.com"/>
1693 <eg:foo xmlns:
eg=
"http://www.example.com" bar=
"x"/>
1697 <section>4.8</section>
1699 <element xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"http://www.example.com" name=
"foo">
1700 <attribute name=
"bar"/>
1704 <eg:foo xmlns:
eg=
"http://www.example.com" eg:
bar=
"x"/>
1707 <eg:foo xmlns:
eg=
"http://www.example.com" bar=
"x"/>
1712 <section>4.9</section>
1714 <section>4.9</section>
1716 <element xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"http://www.example.com" name=
"foo">
1723 <eg:foo xmlns:
eg=
"http://www.example.com" eg:
bar=
"x"/>
1726 <eg:foo xmlns:
eg=
"http://www.example.com" bar=
"x"/>
1730 <section>4.6</section>
1731 <section>4.9</section>
1733 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1738 <group ns=
"http://www.example.com" xmlns=
"http://relaxng.org/ns/structure/1.0" >
1739 <externalRef href=
"x"/>
1743 <foo xmlns=
"http://www.example.com"/>
1751 <group xmlns=
"http://relaxng.org/ns/structure/1.0">
1752 <element ns=
"http://www.example.com">
1758 <valid><foo xmlns=
"http://www.example.com"/></valid>
1759 <invalid><foo/></invalid>
1763 <element ns=
"http://www.example.com" xmlns=
"http://relaxng.org/ns/structure/1.0">
1768 <valid><foo xmlns=
"http://www.example.com"/></valid>
1769 <invalid><foo/></invalid>
1773 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1774 <attribute ns=
"http://www.example.com">
1780 <valid><foo xmlns:
x=
"http://www.example.com" x:
bar=
"whatever"/></valid>
1781 <invalid><foo bar=
"whatever"/></invalid>
1785 <section>4.10</section>
1787 <section>4.10</section>
1789 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo:bar">
1795 <section>4.10</section>
1797 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"eg:foo" xmlns:
eg=
"http://www.example.com">
1802 <foo xmlns=
"http://www.example.com"/>
1805 <foo xmlns=
"http://www.example.com/"/>
1809 <section>4.10</section>
1811 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo" xmlns:
eg=
"http://www.example.com">
1812 <attribute name=
"eg:bar"/>
1816 <foo xmlns:
ex=
"http://www.example.com" ex:
bar=
"x"/>
1819 <foo xmlns:
ex=
"http://www.example.com/" ex:
bar=
"x"/>
1823 <section>4.10</section>
1825 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
1826 <attribute name=
"xml:lang"/>
1830 <foo xml:
lang=
"en"/>
1838 <section>4.11</section>
1840 <section>4.11</section>
1842 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1843 <div ns=
"http://www.example.com">
1850 <element name=
"foo">
1859 <foo xmlns=
"http://www.example.com"/>
1868 <section>4.12</section>
1870 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
1873 <element name=
"foo">
1878 <define name=
"bars">
1879 <element name=
"bar">
1882 <element name=
"bar">
1885 <element name=
"bar">
1893 <foo><bar/><bar/><bar/></foo>
1896 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
1899 <foo><bar/><bar/></foo>
1911 <foo><bar/>X
<bar/><bar/></foo>
1914 <foo><bar/><bar/><bar/><bar/></foo>
1918 <section>4.12</section>
1920 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1922 <element name=
"bar">
1925 <element name=
"bar">
1928 <element name=
"bar">
1935 <foo><bar/><bar/><bar/></foo>
1938 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
1941 <foo><bar/><bar/></foo>
1953 <foo><bar/>X
<bar/><bar/></foo>
1956 <foo><bar/><bar/><bar/><bar/></foo>
1960 <section>4.12</section>
1961 <section>4.15</section>
1963 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
1965 <element name=
"bar">
1968 <element name=
"bar">
1971 <element name=
"bar">
1978 <foo><bar/><bar/><bar/></foo>
1981 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
1984 <foo><bar/><bar/></foo>
1996 <foo><bar/>X
<bar/><bar/></foo>
1999 <foo><bar/><bar/><bar/><bar/></foo>
2003 <section>4.12</section>
2004 <section>4.14</section>
2006 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2008 <element name=
"bar">
2011 <element name=
"bar">
2014 <element name=
"bar">
2021 <foo><bar/><bar/><bar/></foo>
2024 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
2027 <foo><bar/><bar/></foo>
2039 <foo><bar/>X
<bar/><bar/></foo>
2042 <foo><bar/><bar/><bar/><bar/></foo>
2046 <section>4.12</section>
2048 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2064 <section>4.12</section>
2065 <section>4.13</section>
2067 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2069 <element name=
"bar">
2072 <element name=
"bar">
2075 <element name=
"bar">
2082 <foo><bar/><bar/><bar/></foo>
2085 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
2088 <foo><bar/><bar/></foo>
2097 <foo><bar/>X
<bar/><bar/></foo>
2103 <foo><bar/><bar/><bar/><bar/></foo>
2107 <section>4.12</section>
2109 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
2111 <element name=
"bar">
2114 <element name=
"bar">
2117 <element name=
"bar">
2123 <foo><bar/><bar/><bar/></foo>
2126 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
2129 <foo><bar/><bar/></foo>
2141 <foo><bar/>X
<bar/><bar/></foo>
2144 <foo><bar/><bar/><bar/><bar/></foo>
2148 <section>4.12</section>
2150 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
2161 <valid><xyzzy/></valid>
2162 <invalid><foo/></invalid>
2163 <invalid><bar/></invalid>
2164 <invalid><baz/></invalid>
2167 <section>4.12</section>
2169 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2179 <valid><foo/></valid>
2180 <valid><foo>xyz
</foo></valid>
2181 <invalid><foo>x
</foo></invalid>
2182 <invalid><foo>y
</foo></invalid>
2183 <invalid><foo>y
</foo></invalid>
2186 <section>4.12</section>
2188 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2189 <attribute name=
"bar"/>
2203 <section>4.12</section>
2205 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2222 <section>4.12</section>
2224 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2226 <element name=
"bar">
2229 <element name=
"bar">
2232 <element name=
"bar">
2239 <foo><bar/><bar/><bar/></foo>
2242 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
2245 <foo><bar/><bar/></foo>
2257 <foo><bar/>X
<bar/><bar/></foo>
2260 <foo><bar/><bar/><bar/><bar/></foo>
2264 <section>4.12</section>
2266 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2268 <element name=
"bar1">
2271 <element name=
"bar2">
2274 <element name=
"bar3">
2280 <valid><foo><bar1/></foo></valid>
2281 <valid><foo><bar2/></foo></valid>
2282 <valid><foo><bar3/></foo></valid>
2283 <invalid><foo/></invalid>
2286 <section>4.12</section>
2288 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2290 <element name=
"bar1">
2293 <element name=
"bar2">
2296 <element name=
"bar3">
2302 <valid><foo><bar1/><bar2/><bar3/></foo></valid>
2303 <valid><foo><bar1/><bar3/><bar2/></foo></valid>
2304 <valid><foo><bar2/><bar1/><bar3/></foo></valid>
2305 <valid><foo><bar2/><bar3/><bar1/></foo></valid>
2306 <valid><foo><bar3/><bar1/><bar2/></foo></valid>
2307 <valid><foo><bar3/><bar2/><bar1/></foo></valid>
2308 <invalid><foo><bar2/><bar1/></foo></invalid>
2309 <invalid><foo><bar1/><bar3/><bar2/><bar1/></foo></invalid>
2312 <section>4.12</section>
2314 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2316 <element name=
"bar">
2322 <valid><foo><bar/></foo></valid>
2323 <invalid><foo/></invalid>
2326 <section>4.12</section>
2328 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2330 <element name=
"bar">
2336 <valid><foo><bar/></foo></valid>
2337 <invalid><foo/></invalid>
2340 <section>4.12</section>
2342 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2344 <element name=
"bar">
2350 <valid><foo><bar/></foo></valid>
2351 <invalid><foo/></invalid>
2355 <section>4.13</section>
2357 <section>4.13</section>
2359 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2361 <element name=
"bar">
2367 <valid><foo>x
<bar/></foo></valid>
2368 <valid><foo><bar/></foo></valid>
2369 <valid><foo><bar/>x
</foo></valid>
2370 <valid><foo>x
<bar/>y
</foo></valid>
2371 <invalid><foo/></invalid>
2372 <invalid><foo><bar/><bar/></foo></invalid>
2376 <section>4.14</section>
2378 <section>4.14</section>
2380 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2382 <element name=
"bar">
2388 <valid><foo><bar/></foo></valid>
2389 <valid><foo/></valid>
2390 <invalid><foo>x
<bar/></foo></invalid>
2391 <invalid><foo><bar/><bar/></foo></invalid>
2395 <section>4.15</section>
2397 <section>4.15</section>
2399 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2401 <element name=
"bar">
2407 <valid><foo><bar/></foo></valid>
2408 <valid><foo/></valid>
2409 <invalid><foo>x
<bar/></foo></invalid>
2410 <invalid><foo><baz/></foo></invalid>
2411 <valid><foo><bar/><bar/></foo></valid>
2415 <section>4.16</section>
2417 <section>4.16</section>
2419 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2434 <section>4.16</section>
2436 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2454 <section>4.16</section>
2456 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2471 <section>4.16</section>
2473 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2491 <section>4.16</section>
2493 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2508 <section>4.16</section>
2510 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2528 <section>4.16</section>
2529 <documentation>Tests that
4.16 is before
4.20.
</documentation>
2531 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2533 <element name=
"foo">
2551 <section>4.16</section>
2552 <documentation>Tests that
4.16 is before removal of unreachable definitions.
</documentation>
2554 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2556 <element name=
"foo">
2574 <section>4.16</section>
2576 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2577 <attribute name=
"xmlns">
2584 <section>4.16</section>
2586 <element name=
"xmlns" xmlns=
"http://relaxng.org/ns/structure/1.0">
2590 <valid><xmlns/></valid>
2593 <section>4.16</section>
2595 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2596 <attribute name=
" xmlns">
2603 <section>4.16</section>
2605 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2608 <attribute name=
"xmlns">
2616 <section>4.16</section>
2618 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2620 <element name=
"foo">
2625 <attribute name=
"xmlns">
2633 <section>4.16</section>
2635 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2636 <attribute name=
"xmlns" ns=
"">
2643 <section>4.16</section>
2645 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2648 <name ns=
"">xmlns
</name>
2657 <section>4.16</section>
2659 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2661 <name ns=
"">xmlns
</name>
2668 <section>4.16</section>
2670 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2679 <section>4.16</section>
2681 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2692 <section>4.16</section>
2694 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2698 <name ns=
"">xmlns
</name>
2706 <section>4.16</section>
2708 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2723 <section>4.16</section>
2725 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2740 <section>4.16</section>
2742 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2743 <attribute ns=
"http://www.w3.org/2000/xmlns" name=
"bar">
2750 <section>4.16</section>
2752 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0" ns=
"http://www.w3.org/2000/xmlns">
2756 <valid><foo xmlns=
"http://www.w3.org/2000/xmlns"/></valid>
2759 <section>4.16</section>
2761 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2763 <param name=
"minLength">2</param>
2769 <section>4.16</section>
2771 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2777 <section>4.16</section>
2779 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2785 <section>4.16</section>
2787 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2791 <param name=
"minLength">2</param>
2798 <section>4.16</section>
2800 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2809 <section>4.16</section>
2811 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
2820 <section>4.16</section>
2822 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2824 <element name=
"foo">
2830 <param name=
"minLength">2</param>
2837 <section>4.16</section>
2839 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2841 <element name=
"foo">
2852 <section>4.16</section>
2854 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2856 <element name=
"foo">
2868 <section>4.17</section>
2870 <section>4.17</section>
2872 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2877 <element name=
"foo1">
2881 <define name=
"x" combine=
"choice">
2882 <element name=
"foo2">
2887 <element name=
"foo3">
2895 <section>4.17</section>
2897 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2899 <element name=
"foo1">
2903 <start name=
"x" combine=
"choice">
2904 <element name=
"foo2">
2909 <element name=
"foo3">
2917 <section>4.17</section>
2919 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2924 <element name=
"foo1">
2929 <element name=
"foo2">
2937 <section>4.17</section>
2939 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2941 <element name=
"foo1">
2946 <element name=
"foo2">
2954 <section>4.17</section>
2956 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2960 <define name=
"x" combine=
"choice">
2961 <element name=
"foo1">
2965 <define name=
"x" combine=
"choice">
2966 <element name=
"foo2">
2971 <element name=
"foo3">
2991 <section>4.17</section>
2993 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
2994 <start combine=
"choice">
2995 <element name=
"foo1">
2999 <start combine=
"choice">
3000 <element name=
"foo2">
3005 <element name=
"foo3">
3025 <section>4.17</section>
3027 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3029 <element name=
"foo">
3033 <define name=
"x" combine=
"choice">
3034 <element name=
"bar1">
3039 <element name=
"bar2">
3043 <define name=
"x" combine=
"interleave">
3044 <element name=
"bar3">
3052 <section>4.17</section>
3054 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3056 <start name=
"x" combine=
"choice">
3057 <element name=
"bar1">
3062 <element name=
"bar2">
3066 <start name=
"x" combine=
"interleave">
3067 <element name=
"bar3">
3076 <section>4.17</section>
3078 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3080 <element name=
"foo">
3084 <define name=
"x" combine=
"interleave">
3085 <element name=
"bar1">
3089 <define name=
"x" combine=
"interleave">
3090 <element name=
"bar2">
3095 <element name=
"bar3">
3102 <foo><bar1/><bar2/><bar3/></foo>
3105 <foo><bar1/><bar3/><bar2/></foo>
3108 <foo><bar2/><bar3/><bar1/></foo>
3111 <foo><bar2/><bar3/><bar1/><bar2/></foo>
3115 <section>4.17</section>
3117 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3119 <start combine=
"interleave">
3120 <element name=
"bar1">
3125 <element name=
"bar2">
3129 <start combine=
"interleave">
3130 <element name=
"bar3">
3138 <foo><bar1/><bar2/><bar3/></foo>
3141 <foo><bar1/><bar3/><bar2/></foo>
3144 <foo><bar2/><bar3/><bar1/></foo>
3147 <foo><bar2/><bar3/><bar1/><bar2/></foo>
3151 <section>4.17</section>
3153 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3155 <element name=
"foo">
3160 <element name=
"bar1">
3164 <define name=
"x" combine=
"interleave">
3165 <element name=
"bar2">
3170 <element name=
"bar3">
3178 <section>4.17</section>
3180 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3183 <element name=
"bar1">
3187 <start name=
"x" combine=
"interleave">
3188 <element name=
"bar2">
3193 <element name=
"bar3">
3203 <section>4.18</section>
3205 <section>4.18</section>
3206 <documentation>grammar must have a start
</documentation>
3208 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3210 <element name=
"foo">
3218 <section>4.18</section>
3219 <documentation>4.17 is before
4.18</documentation>
3221 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3223 <element name=
"foo">
3228 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3230 <element name=
"foo">
3240 <section>4.18</section>
3241 <documentation>4.17 is before
4.19</documentation>
3243 <choice xmlns=
"http://relaxng.org/ns/structure/1.0">
3244 <element name=
"foo">
3249 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3251 <element name=
"foo">
3261 <section>4.18</section>
3262 <documentation>every ref must have a def
</documentation>
3264 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3272 <section>4.18</section>
3273 <documentation>4.17 is before
4.18</documentation>
3275 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3277 <element name=
"foo">
3288 <section>4.18</section>
3289 <documentation>4.17 is before
4.19</documentation>
3291 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3294 <element name=
"foo">
3307 <section>4.18</section>
3308 <documentation>every parentRef must have a def
</documentation>
3310 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3312 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3314 <parentRef name=
"foo"/>
3317 <element name=
"foo">
3327 <section>4.18</section>
3328 <documentation>4.17 is before
4.18</documentation>
3330 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3332 <element name=
"foo">
3337 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3339 <parentRef name=
"foo"/>
3342 <element name=
"foo">
3352 <section>4.18</section>
3353 <documentation>4.17 is before
4.19</documentation>
3355 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3358 <element name=
"foo">
3363 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3365 <parentRef name=
"foo"/>
3368 <element name=
"foo">
3380 <section>4.18</section>
3382 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3388 <element name=
"foo">
3391 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3393 <parentRef name=
"foo"/>
3402 <section>4.18</section>
3404 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3409 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3414 <element name=
"foo">
3422 <valid><foo/></valid>
3425 <section>4.18</section>
3427 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3434 <element name=
"innerFoo">
3435 <parentRef name=
"foo"/>
3441 <element name=
"outerFoo">
3447 <valid><innerFoo><outerFoo/></innerFoo></valid>
3448 <invalid><outerFoo/></invalid>
3451 <section>4.18</section>
3453 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3458 <element name=
"outerFoo">
3464 <element name=
"innerFoo">
3473 <valid><outerFoo><innerFoo/></outerFoo></valid>
3474 <invalid><innerFoo/></invalid>
3478 <section>4.19</section>
3480 <section>4.19</section>
3482 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3484 <element name=
"foo">
3490 <element name=
"bar">
3500 <section>4.19</section>
3502 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3504 <element name=
"foo">
3509 <element name=
"bar">
3521 <foo><bar><bar/></bar></foo>
3528 <section>4.19</section>
3530 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3532 <element name=
"foo">
3541 <valid><foo/></valid>
3544 <section>4.19</section>
3545 <section>4.20</section>
3546 <documentation>Tests that recursion detection happens before
3547 normalization of notAllowed.
</documentation>
3549 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
3552 <element name=
"foo">
3562 <element name=
"bar">
3575 <section>6</section>
3577 <section>6.1</section>
3579 <section>6.1</section>
3581 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3590 <foo xmlns=
"http://www.example.com"/>
3594 <section>6.1</section>
3596 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3599 <name ns=
"">foo
</name>
3609 <foo xmlns=
"http://www.example.com"/>
3616 <section>6.1</section>
3618 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3631 <foo xmlns=
"http://www.example.com"/>
3635 <section>6.1</section>
3637 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3646 <foo xmlns=
"http://www.example.com"/>
3650 <section>6.1</section>
3652 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3653 <nsName ns=
"http://www.example.com"/>
3661 <foo xmlns=
"HTTP://www.example.com"/>
3664 <foo xmlns=
"http://www.example.com/"/>
3667 <foo xmlns=
"http://www.example.com"/>
3671 <section>6.1</section>
3673 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3674 <nsName ns=
"http://www.example.com">
3676 <name ns=
"http://www.example.com">foo
</name>
3686 <foo xmlns=
"http://www.example.com"/>
3689 <bar xmlns=
"http://www.example.com"/>
3693 <section>6.1</section>
3695 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3696 <nsName ns=
"http://www.example.com">
3698 <name ns=
"">foo
</name>
3711 <foo xmlns=
"http://www.example.com"/>
3714 <bar xmlns=
"http://www.example.com"/>
3718 <section>6.1</section>
3720 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3721 <name ns=
"http://www.example.com">foo
</name>
3726 <foo xmlns=
"http://www.example.com"/>
3732 <bar xmlns=
"http://www.example.com"/>
3735 <foo xmlns=
"http://www.example.org"/>
3739 <section>6.1</section>
3741 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3742 <name ns=
"">foo
</name>
3747 <foo xmlns=
"http://www.example.com"/>
3753 <bar xmlns=
"http://www.example.com"/>
3760 <section>6.1</section>
3762 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
3764 <name ns=
"">foo
</name>
3765 <name ns=
"">bar
</name>
3782 <section>6.2</section>
3784 <section>6.2.1</section>
3786 <section>6.2.1</section>
3788 <choice xmlns=
"http://relaxng.org/ns/structure/1.0">
3789 <element name=
"foo">
3792 <element name=
"bar">
3808 <section>6.2.1</section>
3810 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3813 <element name=
"bar1">
3816 <element name=
"bar2">
3821 <element name=
"bar1">
3824 <element name=
"bar3">
3832 <foo><bar1/><bar2/></foo>
3835 <foo><bar1/><bar3/></foo>
3850 <foo><bar1/><bar2/><bar3/></foo>
3854 <section>6.2.1</section>
3856 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3859 <attribute name=
"bar1">
3862 <attribute name=
"bar2">
3867 <attribute name=
"bar1">
3870 <attribute name=
"bar3">
3878 <foo bar1=
"x" bar2=
"x"/>
3881 <foo bar1=
"x" bar3=
"x"/>
3896 <foo bar1=
"x" bar2=
"x" bar3=
"x"/>
3900 <section>6.2.1</section>
3902 <choice xmlns=
"http://relaxng.org/ns/structure/1.0">
3903 <element name=
"foo">
3904 <element name=
"bar">
3908 <element name=
"foo">
3909 <element name=
"baz">
3925 <foo><bar/><bar/></foo>
3939 <section>6.2.2</section>
3941 <section>6.2.2</section>
3943 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3945 <element name=
"bar">
3948 <element name=
"baz">
3955 <foo><bar/><baz/></foo>
3958 <foo><baz/><bar/></foo>
3961 <foo><bar/><baz/><bar/><baz/></foo>
3974 <section>6.2.2</section>
3976 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3978 <attribute name=
"bar">
3981 <attribute name=
"baz">
3988 <foo bar=
"x" baz=
"x"/>
3995 <section>6.2.2</section>
3997 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
3999 <attribute name=
"bar">
4002 <attribute name=
"baz">
4009 <foo bar=
"x" baz=
"x"/>
4022 <section>6.2.2</section>
4024 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4026 <attribute name=
"baz">
4029 <attribute name=
"bar">
4036 <foo bar=
"x" baz=
"x"/>
4049 <section>6.2.2</section>
4051 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4053 <attribute name=
"bar">
4056 <element name=
"baz">
4063 <foo bar=
"x"><baz/></foo>
4072 <foo baz=
"x"><bar/></foo>
4076 <section>6.2.2</section>
4078 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4080 <element name=
"baz">
4083 <attribute name=
"bar">
4090 <foo bar=
"x"><baz/></foo>
4099 <foo baz=
"x"><bar/></foo>
4104 <section>6.2.3</section>
4106 <section>6.2.3</section>
4108 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4143 <section>6.2.3</section>
4145 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4146 <attribute name=
"bar">
4151 <valid><foo bar=
""/></valid>
4152 <valid><foo bar=
" "/></valid>
4153 <invalid><foo bar=
"x"/></invalid>
4156 <section>6.2.3</section>
4158 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4164 <valid><foo/></valid>
4165 <valid><foo> </foo></valid>
4166 <invalid><foo>x
</foo></invalid>
4167 <invalid><foo><bar/></foo></invalid>
4168 <invalid><foo bar=
""/></invalid>
4171 <section>6.2.3</section>
4173 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4174 <attribute name=
"bar">
4181 <valid><foo bar=
""/></valid>
4182 <valid><foo bar=
" "/></valid>
4183 <invalid><foo bar=
"x"/></invalid>
4186 <section>6.2.3</section>
4188 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4190 <element name=
"bar">
4195 <element name=
"baz">
4203 <foo><bar/><baz/></foo>
4212 <foo><bar/><baz/><baz/></foo>
4217 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4220 <attribute name=
"bar">
4241 <section>6.2.4</section>
4243 <section>6.2.4</section>
4245 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4270 <section>6.2.4</section>
4272 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4275 <element name=
"bar">
4310 <section>6.2.4</section>
4312 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4314 <element name=
"bar">
4351 <section>6.2.4</section>
4353 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4355 <element name=
"bar">
4394 <foo>x
<bar/>x
<bar/></foo>
4398 <section>6.2.4</section>
4400 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4401 <attribute name=
"bar">
4419 <foo><bar/>x
<bar/></foo>
4424 <section>6.2.5</section>
4426 <section>6.2.5</section>
4428 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4430 <element name=
"bar">
4440 <foo><bar/><bar/></foo>
4443 <foo><bar/><bar/><bar/></foo>
4450 <section>6.2.5</section>
4452 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4455 <element name=
"bar">
4458 <element name=
"bar">
4466 <foo><bar/><bar/></foo>
4469 <foo><bar/><bar/><bar/><bar/></foo>
4472 <foo><bar/><bar/><bar/><bar/><bar/><bar/></foo>
4481 <foo><bar/><bar/><bar/></foo>
4485 <section>6.2.5</section>
4487 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4503 <foo x=
"" y=
"" z=
""/>
4509 <foo xmlns:
ns=
"http://www.example.com" ns:
x=
""/>
4512 <foo x=
"" xmlns:
ns=
"http://www.example.com" ns:
x=
""/>
4516 <section>6.2.5</section>
4518 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4521 <attribute name=
"bar">
4524 <element name=
"bar">
4532 <foo bar=
""><bar/><bar/></foo>
4546 <section>6.2.6</section>
4548 <section>6.2.6</section>
4550 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4552 <element name=
"bar">
4555 <element name=
"baz">
4562 <foo><bar/><baz/></foo>
4565 <foo><baz/><bar/></foo>
4574 <foo><bar/><bar/></foo>
4581 <section>6.2.6</section>
4583 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4586 <element name=
"bar1">
4589 <element name=
"bar2">
4593 <element name=
"baz">
4600 <foo><baz/><bar1/><bar2/></foo>
4603 <foo><bar1/><baz/><bar2/></foo>
4606 <foo><bar1/><bar2/><baz/></foo>
4609 <foo><baz/><bar2/><bar1/></foo>
4612 <foo><bar2/><bar1/></foo>
4615 <foo><baz/><bar2/><bar1/></foo>
4618 <foo><baz/><bar1/></foo>
4621 <foo><baz/><bar2/></foo>
4625 <section>6.2.6</section>
4627 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4629 <attribute name=
"bar">
4632 <attribute name=
"baz">
4639 <foo bar=
"" baz=
""/>
4655 <section>6.2.6</section>
4657 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4659 <element name=
"bar">
4662 <attribute name=
"baz">
4669 <foo baz=
""><bar/></foo>
4678 <foo bar=
""><baz/><baz/></foo>
4681 <foo><baz/><baz/></foo>
4686 <section>6.2.7</section>
4688 <section>6.2.7</section>
4690 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4692 <name ns=
"">bar
</name>
4693 <value type=
"string" datatypeLibrary=
"">baz
</value>
4713 <foo><bar>baz
</bar></foo>
4717 <section>6.2.7</section>
4719 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4721 <name ns=
"">bar
</name>
4723 <value type=
"string" datatypeLibrary=
"">baz
</value>
4742 <foo><bar>baz
</bar></foo>
4752 <section>6.2.7</section>
4754 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4756 <name ns=
"">bar
</name>
4757 <value type=
"string"/>
4772 <section>6.2.7</section>
4774 <element xmlns=
"http://relaxng.org/ns/structure/1.0">
4775 <name ns=
"">foo
</name>
4778 <name ns=
"">bar
</name>
4782 <name ns=
"">baz
</name>
4789 <foo><bar/><baz/></foo>
4808 <bar><bar/><baz/></bar>
4812 <section>6.2.7</section>
4813 <section>6.2.8</section>
4815 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4816 <value type=
"string"/>
4819 <valid><foo/></valid>
4820 <invalid><foo> </foo></invalid>
4821 <invalid><foo>x
</foo></invalid>
4824 <section>6.2.7</section>
4825 <section>6.2.8</section>
4827 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4829 <value type=
"string"/>
4834 <valid><foo/></valid>
4835 <valid><foo> </foo></valid>
4836 <invalid><foo>x
</foo></invalid>
4839 <section>6.2.7</section>
4840 <section>6.2.8</section>
4841 <section>6.2.10</section>
4843 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4845 <data type=
"token"/>
4849 <invalid><foo/></invalid>
4850 <invalid><foo> </foo></invalid>
4851 <valid><foo>x
</foo></valid>
4852 <valid><foo> x
</foo></valid>
4853 <invalid><foo>x y
</foo></invalid>
4856 <section>6.2.7</section>
4857 <section>6.2.8</section>
4858 <requires datatypeLibrary=
"http://www.w3.org/2001/XMLSchema-datatypes"/>
4860 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4862 datatypeLibrary=
"http://www.w3.org/2001/XMLSchema-datatypes">
4863 <param name=
"minLength">2</param>
4867 <valid><foo>xx
</foo></valid>
4868 <valid><foo>xxx
</foo></valid>
4869 <valid><foo> </foo></valid>
4870 <valid><foo> </foo></valid>
4871 <invalid><foo>x
</foo></invalid>
4872 <invalid><foo> </foo></invalid>
4873 <invalid><foo/></invalid>
4876 <section>6.2.7</section>
4877 <section>6.2.8</section>
4879 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4882 <element name=
"bar">
4888 <valid><foo> x
</foo></valid>
4889 <valid><foo>x
</foo></valid>
4890 <invalid><foo>y
</foo></invalid>
4891 <valid><foo><bar/></foo></valid>
4897 <invalid><foo>x
<bar/></foo></invalid>
4898 <invalid><foo/></invalid>
4899 <invalid><foo><bar/>x
</foo></invalid>
4902 <section>6.2.7</section>
4903 <section>6.2.8</section>
4905 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4909 <element name=
"bar">
4916 <valid><foo> x
</foo></valid>
4917 <valid><foo>x
</foo></valid>
4918 <invalid><foo>y
</foo></invalid>
4919 <valid><foo><bar/></foo></valid>
4925 <valid><foo>x
<bar/></foo></valid>
4926 <invalid><foo/></invalid>
4927 <valid><foo><bar/>x
</foo></valid>
4931 <section>6.2.8</section>
4933 <section>6.2.8</section>
4935 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4936 <data type=
"string">
4960 <section>6.2.8</section>
4962 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4963 <data type=
"string"/>
4971 <section>6.2.8</section>
4973 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4982 <section>6.2.8</section>
4984 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
4985 <data type=
"string">
5001 <section>6.2.9</section>
5003 <section>6.2.9</section>
5005 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5006 <data type=
"string" datatypeLibrary=
""/>
5036 <section>6.2.9</section>
5038 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5039 <data type=
"token" datatypeLibrary=
""/>
5069 <section>6.2.9</section>
5071 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5072 <value type=
"string" datatypeLibrary=
"">x
</value>
5075 <valid><foo>x
</foo></valid>
5076 <invalid><foo>xy
</foo></invalid>
5077 <invalid><foo> x
</foo></invalid>
5078 <invalid><foo/></invalid>
5081 <section>6.2.9</section>
5083 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5084 <value type=
"string" datatypeLibrary=
""> x
</value>
5087 <valid><foo> x
</foo></valid>
5088 <invalid><foo> xy
</foo></invalid>
5089 <invalid><foo>x
</foo></invalid>
5090 <invalid><foo/></invalid>
5093 <section>6.2.9</section>
5095 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5096 <value type=
"token" datatypeLibrary=
"">x
</value>
5099 <valid><foo>x
</foo></valid>
5100 <valid><foo> x
</foo></valid>
5101 <valid><foo>x
</foo></valid>
5102 <valid><foo>

	 x


	 </foo></valid>
5103 <invalid><foo/></invalid>
5104 <invalid><foo>xy
</foo></invalid>
5107 <section>6.2.9</section>
5109 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5110 <value type=
"token" datatypeLibrary=
"">x y
</value>
5113 <valid><foo>x y
</foo></valid>
5114 <valid><foo> x y
</foo></valid>
5115 <valid><foo>x


	 y
</foo></valid>
5116 <invalid><foo>xy
</foo></invalid>
5119 <section>6.2.9</section>
5121 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5122 <value type=
"token" datatypeLibrary=
"">

	 x


	 </value>
5125 <valid><foo>x
</foo></valid>
5126 <valid><foo> x
</foo></valid>
5127 <valid><foo>x
</foo></valid>
5128 <valid><foo>
	x
 
</foo></valid>
5129 <invalid><foo/></invalid>
5130 <invalid><foo>xy
</foo></invalid>
5133 <section>6.2.9</section>
5135 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5136 <value type=
"token" datatypeLibrary=
"">x


	 y
</value>
5139 <valid><foo>x y
</foo></valid>
5140 <valid><foo>x y
</foo></valid>
5141 <valid><foo> x y
</foo></valid>
5142 <valid><foo>x

	y
</foo></valid>
5143 <valid><foo>x
 
y
</foo></valid>
5144 <invalid><foo/></invalid>
5145 <invalid><foo>xy
</foo></invalid>
5148 <section>6.2.9</section>
5150 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5151 <data type=
"decimal" datatypeLibrary=
""/>
5156 <section>6.2.9</section>
5158 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5159 <value type=
"decimal" datatypeLibrary=
""/>
5164 <section>6.2.9</section>
5166 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5167 <data type=
"string" datatypeLibrary=
"">
5168 <param name=
"length">2</param>
5174 <section>6.2.9</section>
5176 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5177 <data type=
"token" datatypeLibrary=
"">
5178 <param name=
"length">2</param>
5185 <section>6.2.10</section>
5187 <section>6.2.10</section>
5189 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5191 <value type=
"string">x
</value>
5206 <section>6.2.10</section>
5208 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5211 <value type=
"string">x
</value>
5220 <foo> x x x x
</foo>
5230 <section>6.2.10</section>
5232 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5235 <value type=
"string">x
</value>
5236 <value type=
"string">y
</value>
5248 <foo>
x

y
	</foo>
5255 <section>6.2.10</section>
5257 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5260 <data type=
"token"/>
5261 <data type=
"token"/>
5277 <section>6.2.10</section>
5279 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
5293 <section>7</section>
5295 <section>7.1</section>
5297 <section>7.1.1</section>
5299 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5301 <element name=
"foo">
5302 <attribute name=
"bar">
5303 <element name=
"baz">
5313 <section>7.1.1</section>
5315 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5317 <element name=
"foo">
5318 <attribute name=
"bar">
5320 <element name=
"baz">
5332 <section>7.1.1</section>
5334 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5336 <element name=
"foo">
5337 <attribute name=
"bar">
5338 <attribute name=
"baz"/>
5346 <section>7.1.1</section>
5348 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5350 <element name=
"foo">
5351 <attribute name=
"bar">
5353 <attribute name=
"baz"/>
5363 <section>7.1.2</section>
5365 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5367 <element name=
"foo">
5370 <attribute name=
"bar"/>
5371 <attribute name=
"baz"/>
5380 <section>7.1.2</section>
5382 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5384 <element name=
"foo">
5401 <section>7.1.2</section>
5403 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5405 <element name=
"foo">
5410 <attribute name=
"bar"/>
5411 <attribute name=
"baz"/>
5414 <attribute name=
"bar"/>
5415 <attribute name=
"baz"/>
5418 <attribute name=
"bar"/>
5427 <section>7.1.2</section>
5429 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5431 <element name=
"foo">
5434 <attribute name=
"bar"/>
5435 <attribute name=
"baz"/>
5444 <section>7.1.2</section>
5446 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5448 <element name=
"foo">
5465 <section>7.1.2</section>
5467 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5469 <element name=
"foo">
5474 <attribute name=
"bar"/>
5475 <attribute name=
"baz"/>
5478 <attribute name=
"bar"/>
5479 <attribute name=
"baz"/>
5482 <attribute name=
"bar"/>
5491 <section>7.1.3</section>
5493 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5495 <element name=
"foo">
5498 <data type=
"token"/>
5507 <section>7.1.3</section>
5509 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5511 <element name=
"foo">
5515 <data type=
"token"/>
5517 <data type=
"token"/>
5526 <section>7.1.3</section>
5528 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5530 <element name=
"foo">
5532 <element name=
"bar">
5542 <section>7.1.3</section>
5544 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5546 <element name=
"foo">
5549 <data type=
"token"/>
5550 <element name=
"bar">
5561 <section>7.1.3</section>
5563 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5565 <element name=
"foo">
5567 <attribute name=
"bar">
5577 <section>7.1.3</section>
5579 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5581 <element name=
"foo">
5584 <attribute name=
"bar">
5587 <data type=
"token"/>
5596 <section>7.1.3</section>
5598 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5600 <element name=
"foo">
5604 <data type=
"token"/>
5613 <section>7.1.3</section>
5615 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5617 <element name=
"foo">
5630 <section>7.1.3</section>
5632 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5634 <element name=
"foo">
5650 <section>7.1.4</section>
5652 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5654 <element name=
"foo">
5655 <data type=
"string">
5657 <attribute name=
"bar"/>
5666 <section>7.1.4</section>
5668 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5670 <element name=
"foo">
5671 <data type=
"string">
5673 <element name=
"bar">
5684 <section>7.1.4</section>
5686 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5688 <element name=
"foo">
5689 <data type=
"string">
5700 <section>7.1.4</section>
5702 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5704 <element name=
"foo">
5705 <data type=
"string">
5708 <data type=
"token"/>
5718 <section>7.1.4</section>
5720 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5722 <element name=
"foo">
5723 <data type=
"string">
5726 <data type=
"token"/>
5727 <data type=
"token"/>
5737 <section>7.1.4</section>
5739 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5741 <element name=
"foo">
5742 <data type=
"string">
5745 <data type=
"token"/>
5746 <data type=
"token"/>
5756 <section>7.1.4</section>
5758 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5760 <element name=
"foo">
5761 <data type=
"string">
5764 <data type=
"token"/>
5774 <section>7.1.4</section>
5776 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5778 <element name=
"foo">
5779 <data type=
"string">
5790 <section>7.1.5</section>
5792 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5794 <attribute name=
"foo"/>
5800 <section>7.1.5</section>
5802 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5804 <data type=
"string"/>
5810 <section>7.1.5</section>
5812 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5815 <data type=
"string"/>
5816 <element name=
"foo">
5825 <section>7.1.5</section>
5827 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5831 <element name=
"foo">
5840 <section>7.1.5</section>
5842 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5850 <section>7.1.5</section>
5852 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5856 <element name=
"foo">
5865 <section>7.1.5</section>
5867 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5870 <data type=
"token"/>
5877 <section>7.1.5</section>
5879 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5882 <element name=
"foo">
5886 <data type=
"token"/>
5894 <section>7.1.5</section>
5896 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5899 <element name=
"foo">
5902 <element name=
"foo">
5911 <section>7.1.5</section>
5913 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5916 <element name=
"foo">
5920 <element name=
"foo">
5923 <element name=
"foo">
5933 <section>7.1.5</section>
5935 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5938 <element name=
"foo">
5941 <element name=
"foo">
5950 <section>7.1.5</section>
5952 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5955 <element name=
"foo">
5959 <element name=
"foo">
5962 <element name=
"foo">
5972 <section>7.1.5</section>
5974 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5977 <element name=
"foo">
5986 <section>7.1.5</section>
5988 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
5992 <element name=
"foo">
5996 <element name=
"foo">
6005 <section>7.1.5</section>
6007 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
6015 <section>7.1.5</section>
6017 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
6020 <element name=
"foo">
6030 <section>7.1.5</section>
6031 <section>7</section>
6032 <section>4.18</section>
6033 <documentation>Tests that constraints are post-normalization
</documentation>
6035 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
6048 <section>7.1.5</section>
6049 <section>7</section>
6050 <section>4.18</section>
6052 <text xmlns=
"http://relaxng.org/ns/structure/1.0"/>
6056 <section>7.1.1</section>
6057 <section>7</section>
6058 <section>4.20</section>
6060 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
6062 <attribute name=
"bar">
6065 <attribute name=
"baz"/>
6076 <section>7.1.1</section>
6077 <section>7</section>
6078 <section>4.20</section>
6079 <documentation>The nested attribute element is normalized out because
6080 of the not allowed.
</documentation>
6082 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
6083 <attribute name=
"bar">
6088 <attribute name=
"baz"/>
6099 <section>7.1.2</section>
6100 <section>7</section>
6101 <section>4.12</section>
6102 <documentation>The group element is normalized out.
</documentation>
6104 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
6106 <element name=
"foo">
6119 <foo xyzzy1=
"val1" xyzzy2=
"val2"/>
6123 <section>7.1.2</section>
6124 <section>7</section>
6125 <section>4.21</section>
6126 <documentation>The group element is normalized out.
</documentation>
6128 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
6130 <element name=
"foo">
6144 <foo xyzzy1=
"val1" xyzzy2=
"val2"/>
6148 <section>7.1.2</section>
6149 <section>7</section>
6150 <section>4.20</section>
6151 <documentation>The attribute elements are all normalized out.
</documentation>
6153 <element xmlns=
"http://relaxng.org/ns/structure/1.0" name=
"foo">
6155 <attribute name=
"a1">
6156 <attribute name=
"a2">
6157 <attribute name=
"a3">
6171 <section>7.2</section>
6173 <section>7.2</section>
6175 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
6177 <element name=
"foo">
6179 <data type=
"token"/>
6180 <data type=
"token"/>
6188 <documentation>Checks that normalization of notAllowed happens
6189 before string sequence checking.
</documentation>
6190 <section>7.2</section>
6191 <section>4.20</section>
6193 <choice xmlns=
"http://relaxng.org/ns/structure/1.0">
6194 <element name=
"foo">
6199 <element name=
"bar">
6201 <data type=
"token"/>
6202 <data type=
"token"/>
6213 <section>4.20</section>
6214 <section>7.2</section>
6215 <documentation>notAllowed in an element is not normalized
</documentation>
6217 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6220 <element name=
"bar">
6223 <data type=
"token"/>
6224 <data type=
"token"/>
6226 <element name=
"baz">
6235 <section>7.3</section>
6237 <section>7.3</section>
6239 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6240 <attribute name=
"bar"/>
6241 <attribute name=
"bar"/>
6246 <section>7.3</section>
6248 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6249 <attribute name=
"bar"/>
6251 <attribute name=
"bar"/>
6257 <section>7.3</section>
6259 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6261 <attribute name=
"bar"/>
6270 <section>7.3</section>
6272 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6274 <attribute name=
"bar"/>
6275 <attribute name=
"bar"/>
6281 <section>7.3</section>
6283 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6285 <attribute name=
"bar"/>
6288 <attribute name=
"bar"/>
6294 <section>7.3</section>
6296 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6297 <attribute name=
"bar"/>
6307 <section>7.3</section>
6309 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6310 <attribute name=
"bar"/>
6324 <section>7.3</section>
6326 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6327 <attribute name=
"bar"/>
6340 <foo bar=
"val" xyzzy=
"anotherval"/>
6343 <foo bar=
"val" baz=
""/>
6356 <section>7.3</section>
6358 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6359 <attribute name=
"bar"/>
6369 <section>7.3</section>
6371 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6372 <attribute name=
"bar"/>
6386 <section>7.3</section>
6388 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6403 <section>7.3</section>
6405 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6420 <section>7.3</section>
6422 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6441 <section>7.3</section>
6443 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6457 <attribute name=
"foo"/>
6462 <section>7.3</section>
6464 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6487 <section>7.3</section>
6489 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6503 <attribute name=
"baz"/>
6507 <foo bar=
"xx" baz=
"yy"/>
6510 <foo x=
"xx" baz=
"yy"/>
6513 <foo xmlns:
eg=
"http://www.example.com/" eg:
x=
"xx" baz=
"yy"/>
6517 <section>7.3</section>
6519 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6522 <nsName ns=
"http://www.example.com/1"/>
6527 <nsName ns=
"http://www.example.com/2"/>
6533 <foo xmlns:
eg1=
"http://www.example.com/1"
6534 xmlns:
eg2=
"http://www.example.com/2"
6535 eg1:
x=
"xx" eg2:
y=
"yy"/>
6539 <section>7.3</section>
6541 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6543 <attribute name=
"bar"/>
6544 <attribute name=
"bar"/>
6553 <section>7.3</section>
6555 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6556 <attribute name=
"bar"/>
6558 <attribute name=
"baz"/>
6559 <attribute name=
"bar"/>
6565 <section>7.3</section>
6567 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6568 <attribute><anyName/><text/></attribute>
6573 <section>7.3</section>
6575 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6576 <attribute><nsName ns =
""/><text/></attribute>
6581 <section>7.3</section>
6583 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6584 <attribute><choice><nsName ns =
""/><name>foo
</name></choice><text/></attribute>
6590 <section>7.4</section>
6592 <section>7.4</section>
6594 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6596 <element name=
"bar">
6599 <element name=
"bar">
6607 <section>7.4</section>
6609 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6611 <element name=
"bar">
6615 <element name=
"baz">
6618 <element name=
"bar">
6627 <section>7.4</section>
6629 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6631 <element name=
"bar">
6635 <element name=
"baz">
6638 <element name=
"bar">
6647 <section>7.4</section>
6649 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6651 <element name=
"bar">
6655 <element name=
"baz">
6659 <element name=
"baz">
6662 <element name=
"bar">
6672 <section>7.4</section>
6674 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6676 <element name=
"bar">
6680 <element name=
"bar">
6689 <section>7.4</section>
6691 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6693 <element name=
"bar">
6705 <section>7.4</section>
6707 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6709 <element name=
"bar">
6721 <section>7.4</section>
6723 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6725 <element name=
"bar">
6728 <element name=
"bar">
6736 <section>7.4</section>
6738 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6740 <element name=
"bar">
6755 <foo><bar/><baz/></foo>
6759 <section>7.4</section>
6761 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6764 <element name=
"bar">
6767 <element name=
"bar">
6771 <element name=
"baz">
6778 <foo><bar/><baz/></foo>
6782 <section>7.4</section>
6784 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6793 <section>7.4</section>
6795 <element name=
"foo" xmlns=
"http://relaxng.org/ns/structure/1.0">
6798 <element name=
"bar">
6802 <element name=
"baz">
6812 <documentation>Regressions
</documentation>
6815 <grammar xmlns=
"http://relaxng.org/ns/structure/1.0">
6817 <element name=
"foo">
6820 <attribute name=
"bar"><empty/></attribute>
6821 <element name=
"baz1"><empty/></element>
6824 <attribute name=
"bar"><text/></attribute>
6825 <element name=
"baz2"><empty/></element>
6833 <foo bar=
" "><baz1/></foo>
6838 <notAllowed xmlns=
"http://relaxng.org/ns/structure/1.0"/>