aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/polymorphism/any-type/test.xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-10-14 12:21:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-10-14 12:21:35 +0200
commitb7197929af1cca15e490703ba3632ae52a348b60 (patch)
treee4ed9dc7cf2021d6ad398fade7fc8148ff982b16 /tests/cxx/hybrid/polymorphism/any-type/test.xsd
parent6f395f9f769866a04f6949cb7ed14f93d90cf728 (diff)
New mapping for anyType with support for polymorphism
Diffstat (limited to 'tests/cxx/hybrid/polymorphism/any-type/test.xsd')
-rw-r--r--tests/cxx/hybrid/polymorphism/any-type/test.xsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cxx/hybrid/polymorphism/any-type/test.xsd b/tests/cxx/hybrid/polymorphism/any-type/test.xsd
index 33b5251..ab35171 100644
--- a/tests/cxx/hybrid/polymorphism/any-type/test.xsd
+++ b/tests/cxx/hybrid/polymorphism/any-type/test.xsd
@@ -2,6 +2,7 @@
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
<element name="any" type="anyType"/>
+ <element name="any1" type="anyType" substitutionGroup="t:any"/>
<complexType name="base">
<complexContent>
@@ -10,6 +11,7 @@
<element name="a" type="int"/>
<element name="b" type="string"/>
</sequence>
+ <attribute name="x" type="string"/>
</restriction>
</complexContent>
</complexType>