summaryrefslogtreecommitdiff
path: root/ext/wddx/tests/wddx.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wddx/tests/wddx.xml')
-rw-r--r--ext/wddx/tests/wddx.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/ext/wddx/tests/wddx.xml b/ext/wddx/tests/wddx.xml
new file mode 100644
index 0000000000..7768502666
--- /dev/null
+++ b/ext/wddx/tests/wddx.xml
@@ -0,0 +1,51 @@
+<?xml version='1.0'?>
+<!DOCTYPE wddxPacket SYSTEM 'wddx_0100.dtd'>
+<wddxPacket version='1.0'>
+<header/>
+ <data>
+ <struct>
+ <var name='aNull'>
+ <null/>
+ </var>
+ <var name='aString'>
+ <string>a string</string>
+ </var>
+ <var name='aNumber'>
+ <number>-12.456</number>
+ </var>
+ <var name='aBoolean'>
+ <boolean value='true'/>
+ </var>
+ <var name='anArray'>
+ <array length='2'>
+ <number>10</number>
+ <string>second element</string>
+ </array>
+ </var>
+ <var name='aBinary'>
+ <binary length='11'>YmluYXJ5IGRhdGE=</binary>
+ </var>
+ <var name='anObject'>
+ <struct>
+ <var name='s'>
+ <string>a string</string>
+ </var>
+ <var name='n'>
+ <number>-12.456</number>
+ </var>
+ </struct>
+ </var>
+ <var name='aRecordset'>
+ <recordset rowCount='2' fieldNames='NAME,AGE'>
+ <field name='NAME'>
+ <string>John Doe</string>
+ <string>Jane Doe</string>
+ </field>
+ <field name='AGE'>
+ <number>34</number>
+ <number>31</number>
+ </field>
+ </recordset>
+ </struct>
+ </data>
+</wddxPacket>