summaryrefslogtreecommitdiffstats
path: root/libxml2/test/relaxng/558452.rng
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/relaxng/558452.rng')
-rw-r--r--libxml2/test/relaxng/558452.rng21
1 files changed, 21 insertions, 0 deletions
diff --git a/libxml2/test/relaxng/558452.rng b/libxml2/test/relaxng/558452.rng
new file mode 100644
index 0000000..80fbf7b
--- /dev/null
+++ b/libxml2/test/relaxng/558452.rng
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<grammar ns="http://www.example.com/choice"
+ xmlns="http://relaxng.org/ns/structure/1.0">
+ <start>
+ <element name="doc" ns="">
+ <ref name="elem"/>
+ <optional>
+ <ref name="elem"/>
+ <optional>
+ <ref name="elem"/>
+ </optional>
+ </optional>
+ </element>
+ </start>
+
+ <define name="elem">
+ <element name="elem" ns="">
+ <text/>
+ </element>
+ </define>
+</grammar>