aboutsummaryrefslogtreecommitdiff
path: root/tests/schema/element-group/test-002.xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-16 18:14:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-16 18:14:00 +0200
commitbd6f1415823a473da4518769fc292c10330d821d (patch)
tree98bf0ab2565dfdfbef6fbba16e2c24cb442ee304 /tests/schema/element-group/test-002.xsd
Start tracking libxsd-frontend with git
Diffstat (limited to 'tests/schema/element-group/test-002.xsd')
-rw-r--r--tests/schema/element-group/test-002.xsd26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/schema/element-group/test-002.xsd b/tests/schema/element-group/test-002.xsd
new file mode 100644
index 0000000..bc1bd70
--- /dev/null
+++ b/tests/schema/element-group/test-002.xsd
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
+
+ <!-- Any in groups. -->
+
+ <complexType name="type">
+ <sequence>
+ <group ref="t:g1" minOccurs="0" maxOccurs="unbounded"/>
+ <group ref="t:g2" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <group name="g1">
+ <sequence>
+ <any namespace="http://www.foo.com"/>
+ </sequence>
+ </group>
+
+ <group name="g2">
+ <sequence>
+ <element name="foo" type="int"/>
+ <any namespace="http://www.bar.com"/>
+ </sequence>
+ </group>
+
+</schema>