diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-02-24 15:16:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-02-24 15:16:26 +0200 |
commit | 707cc94fe52463870a9c6c8e2e66eaaa389e601d (patch) | |
tree | 13e10ff28bf4455d915f9d59b401bdbb62a393cb /tests/cxx/serializer/error-handling/exceptions/test.xsd |
Start tracking XSD/e with git after version 3.0.03.0.0
Diffstat (limited to 'tests/cxx/serializer/error-handling/exceptions/test.xsd')
-rw-r--r-- | tests/cxx/serializer/error-handling/exceptions/test.xsd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/cxx/serializer/error-handling/exceptions/test.xsd b/tests/cxx/serializer/error-handling/exceptions/test.xsd new file mode 100644 index 0000000..530118c --- /dev/null +++ b/tests/cxx/serializer/error-handling/exceptions/test.xsd @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> + + <complexType name="test"> + <sequence> + <element name="a" type="int"/> + <element name="b" type="int" minOccurs="0"/> + <element name="c" type="int" maxOccurs="unbounded"/> + </sequence> + <attribute name="x" type="int"/> + <attribute name="y" type="int" use="required"/> + </complexType> + + <complexType name="root"> + <sequence> + <element name="test" type="t:test"/> + </sequence> + </complexType> + + <element name="root" type="t:root"/> + +</schema> |