diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-17 07:15:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-17 07:15:29 +0200 |
commit | f0510d2f90467de8e8f260b47d79a9baaf9bef17 (patch) | |
tree | 0b9929946f06a9cbe9b9e8f2a7600dae4e048f79 /tests/cxx/parser/list/test.xsd |
Start tracking XSD with git
Diffstat (limited to 'tests/cxx/parser/list/test.xsd')
-rw-r--r-- | tests/cxx/parser/list/test.xsd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/cxx/parser/list/test.xsd b/tests/cxx/parser/list/test.xsd new file mode 100644 index 0000000..79bd084 --- /dev/null +++ b/tests/cxx/parser/list/test.xsd @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> + + <simpleType name="string-list"> + <list itemType="string"/> + </simpleType> + + <complexType name="string-list-lang"> + <simpleContent> + <extension base="t:string-list"> + <attribute name="lang" type="string"/> + </extension> + </simpleContent> + </complexType> + + <complexType name="type"> + <choice maxOccurs="unbounded"> + <element name="string-list" type="t:string-list"/> + <element name="string-list-lang" type="t:string-list-lang"/> + </choice> + </complexType> + + <element name="root" type="t:type"/> + +</schema> |