aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/polymorphism/any-type/test.xml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-03-26 17:09:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-03-26 17:09:53 +0200
commite4c22d3686da0e973e21eae0561c1169c0eeff36 (patch)
tree0a49e9167edc88938b0287949080931314e8afea /tests/cxx/hybrid/polymorphism/any-type/test.xml
parent0d62005a3ff3b62d02c2eb3fd8644e0e19b202e8 (diff)
Implement support for XML Schema polymorphism in C++/Hybrid
examples/cxx/hybrid/polyroot/ examples/cxx/hybrid/polymorphism/: new examples tests/cxx/hybrid/polymorphism/: new tests
Diffstat (limited to 'tests/cxx/hybrid/polymorphism/any-type/test.xml')
-rw-r--r--tests/cxx/hybrid/polymorphism/any-type/test.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cxx/hybrid/polymorphism/any-type/test.xml b/tests/cxx/hybrid/polymorphism/any-type/test.xml
new file mode 100644
index 0000000..f0a8bcb
--- /dev/null
+++ b/tests/cxx/hybrid/polymorphism/any-type/test.xml
@@ -0,0 +1,7 @@
+<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:root>