aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/binary/cdr/test.xml
blob: acd75d25b244135a69183c6171cc92f9ebf81c0f (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
92
93
<t:root xmlns:t="test">

  <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>

  <choice/>
  <choice><a>123</a></choice>
  <choice><b>ab</b><b>cd</b><b>ef</b></choice>
  <choice><c>12.34</c><d>false</d></choice>

  <!-- 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>-2147483648</long>
  <unsigned_long>2147483647</unsigned_long>
  <integer>-2147483648</integer>
  <non_positive_integer>-2147483648</non_positive_integer>
  <non_negative_integer>2147483647</non_negative_integer>
  <positive_integer>2147483647</positive_integer>
  <negative_integer>-2147483648</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>