imported DTD compatibility test suite
[cxml-rng-test.git] / dtd-split / 051 / i.rng
blobf700d55fee9df7de223eb4a98aab8a7aa81a1f18
1 <?xml version="1.0" encoding="utf-8"?>
2 <grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:foo="foo" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3 <start>
4 <element name="root">
5 <optional>
6 <attribute name="abc" a:defaultValue="5">
7 <data type="integer"/>
8 </attribute>
9 </optional>
10 <optional>
11 <element name="root"><!-- competing element -->
12 <optional>
13 <attribute name="abc" a:defaultValue="+5">
14 <!-- +5 and 5 are actually the same value in the value space, but the comparision must be done at the lexical level. -->
15 <data type="integer"/>
16 </attribute>
17 </optional>
18 </element>
19 </optional>
20 </element>
21 </start>
22 </grammar>