diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-12-08 16:18:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-12-08 16:18:01 +0200 |
commit | 1ca6396a3dd284241de11bcaa210ad5836e8e5a8 (patch) | |
tree | 465c19f0d668a91bb556d748911847acfb80cb09 /tests/cxx/tree/encoding/char/iso-8859-1/test.xsd | |
parent | d71611d5fb575078bdf573c35257bb86bb7054e0 (diff) |
Multiple object model character encodings support
Also add support for ISO-8859-1.
Diffstat (limited to 'tests/cxx/tree/encoding/char/iso-8859-1/test.xsd')
-rw-r--r-- | tests/cxx/tree/encoding/char/iso-8859-1/test.xsd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/cxx/tree/encoding/char/iso-8859-1/test.xsd b/tests/cxx/tree/encoding/char/iso-8859-1/test.xsd new file mode 100644 index 0000000..31b8901 --- /dev/null +++ b/tests/cxx/tree/encoding/char/iso-8859-1/test.xsd @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> + + <simpleType name="strenum"> + + <annotation> + <documentation> + Test enum. Valid values are: + abc + aâc + òbc + </documentation> + </annotation> + + <restriction base="string"> + <enumeration value="abc"/> + <enumeration value="aâc"/> + <enumeration value="âòbc"/> + </restriction> + </simpleType> + + <complexType name="type"> + <sequence> + <element name="a" type="string" maxOccurs="unbounded"/> + <element name="b" type="t:strenum" maxOccurs="unbounded"/> + </sequence> + </complexType> + + <element name="root" type="t:type"/> + +</schema> |