diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-07 08:52:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-07 08:52:20 +0200 |
commit | 56043225000df52cf530a85dc5f53ad06ba241cd (patch) | |
tree | 9bf6a0090522896c0fa96baff61a574defcc7165 /tests/cxx/hybrid/iterator/test.xsd | |
parent | c1f810de13243f1b6b3a9e7c9313ceb936471e53 (diff) |
Add support for STL-conforming iterators
The new XSDE_STL_ITERATOR configuration variable is used to conditionally
turn this on.
Diffstat (limited to 'tests/cxx/hybrid/iterator/test.xsd')
-rw-r--r-- | tests/cxx/hybrid/iterator/test.xsd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/cxx/hybrid/iterator/test.xsd b/tests/cxx/hybrid/iterator/test.xsd new file mode 100644 index 0000000..eb41ee1 --- /dev/null +++ b/tests/cxx/hybrid/iterator/test.xsd @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> + + <complexType name="fix"> + <sequence> + <element name="a" type="int"/> + </sequence> + </complexType> + + <complexType name="var"> + <sequence> + <element name="a" type="string"/> + <element name="b" type="int" maxOccurs="unbounded"/> + </sequence> + </complexType> + + <complexType name="type"> + <sequence> + <element name="f" type="t:fix" maxOccurs="unbounded"/> + <element name="v" type="t:var" maxOccurs="unbounded"/> + </sequence> + </complexType> + +</schema> |