diff options
Diffstat (limited to 'tests/cxx/parser/error-handling/exceptions/test.xsd')
-rw-r--r-- | tests/cxx/parser/error-handling/exceptions/test.xsd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/cxx/parser/error-handling/exceptions/test.xsd b/tests/cxx/parser/error-handling/exceptions/test.xsd new file mode 100644 index 0000000..6850342 --- /dev/null +++ b/tests/cxx/parser/error-handling/exceptions/test.xsd @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> + + <complexType name="person"> + <sequence> + <element name="age" type="int"/> + </sequence> + <attribute name="id" type="string" use="required"/> + </complexType> + + <complexType name="type"> + <sequence> + <element name="person" type="t:person" maxOccurs="unbounded"/> + </sequence> + </complexType> + + <element name="root" type="t:type"/> + +</schema> |