aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/polymorphism/any-type/test-000.xml
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-000.xml
parent6f395f9f769866a04f6949cb7ed14f93d90cf728 (diff)
New mapping for anyType with support for polymorphism
Diffstat (limited to 'tests/cxx/hybrid/polymorphism/any-type/test-000.xml')
-rw-r--r--tests/cxx/hybrid/polymorphism/any-type/test-000.xml27
1 files changed, 24 insertions, 3 deletions
diff --git a/tests/cxx/hybrid/polymorphism/any-type/test-000.xml b/tests/cxx/hybrid/polymorphism/any-type/test-000.xml
index f0a8bcb..7a6563c 100644
--- a/tests/cxx/hybrid/polymorphism/any-type/test-000.xml
+++ b/tests/cxx/hybrid/polymorphism/any-type/test-000.xml
@@ -1,7 +1,28 @@
<t:root xmlns:t="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <t:any><x>abc</x>junk<y>123</y></t:any>
- <t:base ><a>123</a><b>abc</b></t:base>
- <t:any xsi:type="t:derived"><a>123</a><b>abc</b><c>9</c><c>8</c><c>7</c></t:any>
+ <t:any>
+ <x>abc</x>
+ junk
+ <y>123</y>
+ </t:any>
+
+ <t:any1>
+ <x>abc</x>
+ junk
+ <y>123</y>
+ </t:any1>
+
+ <t:base x="abc">
+ <a>123</a>
+ <b>abc</b>
+ </t:base>
+
+ <t:any x="xyz" xsi:type="t:derived">
+ <a>123</a>
+ <b>abc</b>
+ <c>9</c>
+ <c>8</c>
+ <c>7</c>
+ </t:any>
</t:root>