aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/binary/xdr/test.xml
blob: 928b4cf0f398bae8a45dc3adda1cae4f063675aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<t:root xmlns:t="test"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="test test.xsd">

  <list>1 2 3</list>

  <union>abc</union>

  <enumeration>left</enumeration>

  <complex x="1">
    <a>aaa</a>
  </complex>
  <complex x="1" y="2">
    <a>aaa</a>
    <b>bbb</b>
    <c>c</c>
    <c>cc</c>
    <c>ccc</c>
  </complex>


  <!-- integers -->
  <byte>65</byte>
  <unsigned_byte>66</unsigned_byte>
  <short>-222</short>
  <unsigned_short>57005</unsigned_short>
  <int>-57005</int>
  <unsigned_int>3735928559</unsigned_int>
  <long>-3735928559</long>
  <unsigned_long>16045690984833335023</unsigned_long>
  <integer>-3735928559</integer>
  <non_positive_integer>-3735928559</non_positive_integer>
  <non_negative_integer>3735928559</non_negative_integer>
  <positive_integer>3735928559</positive_integer>
  <negative_integer>-3735928559</negative_integer>


  <!-- boolean -->
  <boolean>true</boolean>


  <!-- floats -->
  <float>1234.1234</float>
  <double>12345678.12345678</double>
  <decimal>1234567812345678.1234567812345678</decimal>


  <!-- strings -->
  <string>string</string>
  <normalized_string>normalized string</normalized_string>
  <token>one two three</token>
  <name>name</name>
  <name_token>name-token</name_token>
  <name_tokens>name tokens</name_tokens>
  <ncname>ncname</ncname>
  <language>en-us</language>

  <!-- qualified name -->
  <qname>xsi:schemaLocation</qname>


  <!-- ID/IDREF -->
  <id>elements1</id>
  <id>elements2</id>
  <id_ref>elements1</id_ref>
  <id_refs>elements1 elements2</id_refs>


  <!-- URI -->
  <any_uri>http://www.codesynthesis.com</any_uri>


  <!-- binary -->
  <base64_binary>YmFzZTY0IGJpbmFyeQ==</base64_binary>
  <hex_binary>6865782052696E617279</hex_binary>


  <!-- date/time -->
  <date>2001-10-26+02:00</date>
  <date_time>2001-10-26T21:32:52+02:00</date_time>
  <duration>P1Y2M3DT5H20M30S</duration>
  <day>---01+02:00</day>
  <month>--11+02:00</month>
  <month_day>--11-02+02:00</month_day>
  <year>2001+02:00</year>
  <year_month>2001-11+02:00</year_month>
  <time>21:32:52+02:00</time>


</t:root>