summaryrefslogtreecommitdiff
path: root/test/relaxng/492317.rng
diff options
context:
space:
mode:
Diffstat (limited to 'test/relaxng/492317.rng')
-rw-r--r--test/relaxng/492317.rng16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/relaxng/492317.rng b/test/relaxng/492317.rng
new file mode 100644
index 0000000..343f294
--- /dev/null
+++ b/test/relaxng/492317.rng
@@ -0,0 +1,16 @@
+<element name="root" xmlns="http://relaxng.org/ns/structure/1.0">
+ <choice>
+ <element name="child">
+ <attribute name="type">
+ <value>Foo</value>
+ </attribute>
+ <!-- Define stuff that's only valid when type is "Foo" -->
+ </element>
+ <element name="child">
+ <attribute name="type">
+ <value>Bar</value>
+ </attribute>
+ <!-- Define stuff that's only valid when type is "Bar" -->
+ </element>
+ </choice>
+</element>