summaryrefslogtreecommitdiff
path: root/tests/cxx/tree/built-in/elements.xml
blob: f76f01995a3970cd79da44015b44690c1510c0c9 (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
<?xml version="1.0" encoding="UTF-8"?>
<test:elements
  xmlns:test="http://www.codesynthesis.com/xmlns/test"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.codesynthesis.com/xmlns/test types.xsd">

  <!-- 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>12345678.12345678</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>


  <!-- entity -->
  <!--
  <entity>foo</entity>
  <entities>foo bar</entities>
  -->

</test:elements>