1 <!DOCTYPE testSuite [
\r
2 <!ENTITY dii "<ดี/>">
\r
5 <author>James Clark</author>
\r
6 <email>jjc@jclark.com</email>
\r
7 <documentation>For October 26 version of the spec.</documentation>
\r
11 <documentation>Various possible syntax errors.</documentation>
\r
13 <section>3</section>
\r
19 <section>3</section>
\r
21 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
22 <element name="foo">
\r
26 <element name="foo">
\r
34 <section>3</section>
\r
36 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
45 <section>3</section>
\r
47 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
54 <section>3</section>
\r
56 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
64 <section>3</section>
\r
66 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
80 <section>3</section>
\r
82 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
96 <section>3</section>
\r
98 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
111 <section>3</section>
\r
113 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
114 <empty name="bar"/>
\r
119 <section>3</section>
\r
121 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo" extra="bar">
\r
127 <section>3</section>
\r
129 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
137 <section>3</section>
\r
139 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
147 <section>3</section>
\r
149 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
160 <section>3</section>
\r
162 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
168 <define name="foo">
\r
169 <element name="foo">
\r
177 <section>3</section>
\r
179 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
183 <parentRef name="foo">
\r
189 <define name="foo">
\r
190 <element name="foo">
\r
199 <documentation>Tests for obsolete syntax</documentation>
\r
201 <section>3</section>
\r
203 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
205 <element name="foo">
\r
213 <section>3</section>
\r
215 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo" ns="http://www.example.com">
\r
216 <attribute name="bar" global="true">
\r
223 <section>3</section>
\r
225 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
234 <section>3</section>
\r
236 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
246 <section>3</section>
\r
248 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
249 <data type="token" key="foo"/>
\r
254 <section>3</section>
\r
256 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
257 <data type="token" keyRef="foo"/>
\r
262 <section>3</section>
\r
264 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
265 <keyRef name="foo">
\r
266 <data type="token"/>
\r
272 <section>3</section>
\r
274 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
276 <data type="token"/>
\r
283 <documentation>Tests for missing attributes and child elements</documentation>
\r
285 <section>3</section>
\r
287 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
292 <section>3</section>
\r
294 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
300 <section>3</section>
\r
302 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
307 <section>3</section>
\r
309 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
315 <section>3</section>
\r
317 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
323 <section>3</section>
\r
325 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
331 <section>3</section>
\r
333 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
339 <section>3</section>
\r
341 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
347 <section>3</section>
\r
349 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
355 <section>3</section>
\r
357 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
363 <section>3</section>
\r
365 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
371 <section>3</section>
\r
373 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
379 <section>3</section>
\r
381 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
388 <section>3</section>
\r
390 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
399 <section>3</section>
\r
401 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
410 <section>3</section>
\r
412 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
413 <data type="string">
\r
420 <section>3</section>
\r
422 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
428 <section>3</section>
\r
430 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
431 <data type="string">
\r
438 <section>3</section>
\r
440 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
448 <section>3</section>
\r
450 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
452 <element name="bar">
\r
456 <define name="baz"/>
\r
461 <section>3</section>
\r
463 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
469 <section>3</section>
\r
471 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
474 <element name="foo">
\r
482 <section>3</section>
\r
484 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
486 <element name="foo">
\r
491 <element name="bar">
\r
499 <section>3</section>
\r
501 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
505 <define name="foo">
\r
506 <element name="foo">
\r
514 <section>3</section>
\r
516 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
524 <define name="foo">
\r
525 <element name="foo">
\r
534 <documentation>Checking of ns attribute</documentation>
\r
536 <section>3</section>
\r
538 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="">
\r
547 <section>3</section>
\r
548 <documentation>No checking of ns attribute is performed</documentation>
\r
550 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="DAV:">
\r
555 <foo xmlns="DAV:"/>
\r
559 <section>3</section>
\r
560 <documentation>No checking of ns attribute is performed</documentation>
\r
562 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="xyzzy">
\r
568 <section>3</section>
\r
569 <documentation>No checking of ns attribute is performed</documentation>
\r
571 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" ns="bad_scheme://">
\r
578 <documentation>Checking of datatypeLibrary attribute</documentation>
\r
580 <section>3</section>
\r
581 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
583 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foo_bar:xyzzy">
\r
589 <section>3</section>
\r
590 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
592 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foobar:xyzzy">
\r
601 <section>3</section>
\r
602 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
604 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http:ok">
\r
613 <section>3</section>
\r
614 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
616 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foo:">
\r
622 <section>3</section>
\r
623 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
625 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.example.com/%">
\r
631 <section>3</section>
\r
632 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
634 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.example.com/%xx">
\r
640 <section>3</section>
\r
641 <documentation>Value of datatypeLibrary attribute must conform to RFC 2396</documentation>
\r
643 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.example.com/%Aa">
\r
652 <section>3</section>
\r
653 <documentation>Value of datatypeLibrary attribute must not be relative</documentation>
\r
655 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy">
\r
661 <section>3</section>
\r
662 <documentation>Value of datatypeLibrary attribute must not be relative</documentation>
\r
664 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy#foo:bar">
\r
670 <section>3</section>
\r
671 <documentation>Value of datatypeLibrary attribute must not be relative</documentation>
\r
673 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy?foo:bar">
\r
679 <section>3</section>
\r
680 <documentation>Value of datatypeLibrary attribute must not be relative</documentation>
\r
682 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="xyzzy/foo:bar">
\r
688 <section>3</section>
\r
690 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="foo:bar">
\r
699 <section>3</section>
\r
701 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="">
\r
710 <section>3</section>
\r
712 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
713 <data datatypeLibrary="" type="string"/>
\r
721 <section>3</section>
\r
722 <documentation>Value of datatypeLibrary attribute must not contain fragment identifier</documentation>
\r
724 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"
\r
725 datatypeLibrary="http://www.example.com#xyzzy">
\r
731 <section>3</section>
\r
732 <documentation>Value of datatypeLibrary attribute must not contain fragment identifier</documentation>
\r
734 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"
\r
735 datatypeLibrary="http://www.example.com#">
\r
742 <documentation>Tests for QName and NCNames in schemas</documentation>
\r
744 <section>3</section>
\r
746 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
747 <element name="ดี">
\r
757 <section>3</section>
\r
759 <element name="ี" xmlns="http://relaxng.org/ns/structure/1.0">
\r
765 <section>3</section>
\r
767 <element name="" xmlns="http://relaxng.org/ns/structure/1.0">
\r
773 <section>3</section>
\r
775 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
776 <name>ี</name>
\r
782 <section>3</section>
\r
784 <element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
\r
785 <attribute name="ี"/>
\r
791 <section>3</section>
\r
793 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
795 <ref name="ี"/>
\r
797 <define name="ี">
\r
798 <element name="foo">
\r
806 <section>3</section>
\r
808 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
810 <ref name="ดี"/>
\r
812 <define name="ดี">
\r
813 <element name="foo">
\r
824 <section>3</section>
\r
826 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
831 <element name="foo">
\r
839 <section>3</section>
\r
841 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
845 <define name="x y">
\r
846 <element name="foo">
\r
854 <section>3</section>
\r
856 <grammar xmlns="http://relaxng.org/ns/structure/1.0"
\r
857 xmlns:x="http://www.example.com/x">
\r
861 <define name="x:y">
\r
862 <element name="foo">
\r
870 <section>3</section>
\r
872 <element xmlns="http://relaxng.org/ns/structure/1.0"
\r
873 xmlns:x="http://www.example.com/x"
\r
880 <section>3</section>
\r
882 <element xmlns="http://relaxng.org/ns/structure/1.0"
\r
883 xmlns:x="http://www.example.com/x"
\r
890 <section>3</section>
\r
892 <element xmlns="http://relaxng.org/ns/structure/1.0"
\r
893 xmlns:x="http://www.example.com/x"
\r
901 <documentation>Tests for elements that allow only a single pattern child.</documentation>
\r
903 <section>3</section>
\r
905 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
\r
907 <element name="foo">
\r
916 <section>3</section>
\r
918 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
919 <attribute name="bar">
\r
927 <section>3</section>
\r
929 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
940 <documentation>Tests for foreign element and attribute handling.</documentation>
\r
942 <section>3</section>
\r
944 <r:element name="foo" xmlns:r="http://relaxng.org/ns/structure/1.0" r:a="val">
\r
950 <section>3</section>
\r
952 <element xmlns="http://relaxng.org/ns/structure/1.0">
\r
953 <name>foo<eg:comment xmlns:eg="http://www.example.com"/></name>
\r
959 <section>3</section>
\r
961 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
962 <value>foo<eg:comment xmlns:eg="http://www.example.com"/></value>
\r
967 <section>3</section>
\r
969 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
970 <data type="string"><eg:comment xmlns:eg="http://www.example.com"/></data>
\r
978 <section>3</section>
\r
980 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
\r
982 <ext xmlns="http://www.example.com">
\r
983 <element xmlns="http://relaxng.org/ns/structure/1.0"/>
\r
993 <section>3</section>
\r
995 <grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:eg="http://www.example.com">
\r
1005 <data type="string"/>
\r
1024 <section>3</section>
\r
1026 <grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:eg="http://www.example.com"
\r
1028 <start eg:comment="">
\r
1029 <element eg:comment="">
\r
1030 <name eg:comment="">foo</name>
\r
1031 <data eg:comment="" type="string"/>
\r
1032 <empty eg:comment=""/>
\r
1042 <section>3</section>
\r
1044 <rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://www.example.com">
\r
1052 <rng:name>foo</rng:name>
\r
1054 <rng:data type="string"/>
\r
1067 <section>3</section>
\r
1069 <rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0">
\r
1077 <rng:name>foo</rng:name>
\r
1079 <rng:data type="string"/>
\r
1094 <section>4</section>
\r
1096 <section>4.2</section>
\r
1098 <section>4.2</section>
\r
1100 <element name="

 	foo

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

 	bar

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

 	string

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

 	string

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

 	foo

 	</name>
\r
1138 <attribute><name>

 	bar

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

 	choice

 	">
\r
1150 <ref name="

 	x

 	"/>
\r
1155 <define name="

 	y

 	">
\r
1157 <start combine="

 	interleave

 	">
\r
1158 <parentRef name="

 	z

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

	 x

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

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

	 x

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

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