summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstr2.h5.xml
blob: 046cfbab622fb93a63a5107dfb7ba043c6248d39 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
#############################
Expected output for 'h5dump --xml tstr2.h5'
#############################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HDF5-File PUBLIC "HDF5-File.dtd" "http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.dtd">
<HDF5-File>
<RootGroup OBJ-XID="root">
   <Group Name="g1" OBJ-XID="/g1" Parents="/" >
      <Dataset Name="dset1" OBJ-XID="/g1/dset1" Parents="/g1">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="10" MaxDimSize="10"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/>
            </AtomicType>
         </DataType>
         <Attribute Name="attr1">
            <Dataspace>
               <SimpleDataspace Ndims="1">
                  <Dimension  DimSize="3" MaxDimSize="3"/>
               </SimpleDataspace>
            </Dataspace>
            <DataType> 
               <AtomicType>
                  <StringType Cset="H5T_CSET_ASCII" StrSize="11" StrPad="H5T_STR_NULLTERM"/>
               </AtomicType>
            </DataType>
            <Data>
               <DataFromFile>
               "0123456789"
               "abcdefghij"
               "ABCDEFGHIJ"
               </DataFromFile>
            </Data>
         </Attribute>
         <Data>
            <DataFromFile>
            "This is row 0 of type H5T_STR_NULLTERM of"
            "This is row 1 of type H5T_STR_NULLTERM of"
            "This is row 2 of type H5T_STR_NULLTERM of"
            "This is row 3 of type H5T_STR_NULLTERM of"
            "This is row 4 of type H5T_STR_NULLTERM of"
            "This is row 5 of type H5T_STR_NULLTERM of"
            "This is row 6 of type H5T_STR_NULLTERM of"
            "This is row 7 of type H5T_STR_NULLTERM of"
            "This is row 8 of type H5T_STR_NULLTERM of"
            "This is row 9 of type H5T_STR_NULLTERM of"
            </DataFromFile>
         </Data>
      </Dataset>
   </Group>
   <Group Name="g2" OBJ-XID="/g2" Parents="/" >
      <Dataset Name="dset2" OBJ-XID="/g2/dset2" Parents="/g2">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="10" MaxDimSize="10"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/>
            </AtomicType>
         </DataType>
         <Data>
            <DataFromFile>
            "This is row 0 of type H5T_STR_NULLTERM of string "
            "This is row 1 of type H5T_STR_NULLTERM of string "
            "This is row 2 of type H5T_STR_NULLTERM of string "
            "This is row 3 of type H5T_STR_NULLTERM of string "
            "This is row 4 of type H5T_STR_NULLTERM of string "
            "This is row 5 of type H5T_STR_NULLTERM of string "
            "This is row 6 of type H5T_STR_NULLTERM of string "
            "This is row 7 of type H5T_STR_NULLTERM of string "
            "This is row 8 of type H5T_STR_NULLTERM of string "
            "This is row 9 of type H5T_STR_NULLTERM of string "
            </DataFromFile>
         </Data>
      </Dataset>
   </Group>
   <Group Name="g3" OBJ-XID="/g3" Parents="/" >
      <Dataset Name="dset3" OBJ-XID="/g3/dset3" Parents="/g3">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="10" MaxDimSize="10"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/>
            </AtomicType>
         </DataType>
         <Data>
            <DataFromFile>
            "This is row 0 of type H5T_STR_NULLPAD of"
            "This is row 1 of type H5T_STR_NULLPAD of"
            "This is row 2 of type H5T_STR_NULLPAD of"
            "This is row 3 of type H5T_STR_NULLPAD of"
            "This is row 4 of type H5T_STR_NULLPAD of"
            "This is row 5 of type H5T_STR_NULLPAD of"
            "This is row 6 of type H5T_STR_NULLPAD of"
            "This is row 7 of type H5T_STR_NULLPAD of"
            "This is row 8 of type H5T_STR_NULLPAD of"
            "This is row 9 of type H5T_STR_NULLPAD of"
            </DataFromFile>
         </Data>
      </Dataset>
   </Group>
   <Group Name="g4" OBJ-XID="/g4" Parents="/" >
      <Dataset Name="dset4" OBJ-XID="/g4/dset4" Parents="/g4">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="10" MaxDimSize="10"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/>
            </AtomicType>
         </DataType>
         <Data>
            <DataFromFile>
            "This is row 0 of type H5T_STR_NULLPAD of string ar"
            "This is row 1 of type H5T_STR_NULLPAD of string ar"
            "This is row 2 of type H5T_STR_NULLPAD of string ar"
            "This is row 3 of type H5T_STR_NULLPAD of string ar"
            "This is row 4 of type H5T_STR_NULLPAD of string ar"
            "This is row 5 of type H5T_STR_NULLPAD of string ar"
            "This is row 6 of type H5T_STR_NULLPAD of string ar"
            "This is row 7 of type H5T_STR_NULLPAD of string ar"
            "This is row 8 of type H5T_STR_NULLPAD of string ar"
            "This is row 9 of type H5T_STR_NULLPAD of string ar"
            </DataFromFile>
         </Data>
      </Dataset>
   </Group>
   <Group Name="g5" OBJ-XID="/g5" Parents="/" >
      <Dataset Name="dset5" OBJ-XID="/g5/dset5" Parents="/g5">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="10" MaxDimSize="10"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/>
            </AtomicType>
         </DataType>
         <Data>
            <DataFromFile>
            "This is row 0 of type H5T_STR_SPACEPAD of         "
            "This is row 1 of type H5T_STR_SPACEPAD of         "
            "This is row 2 of type H5T_STR_SPACEPAD of         "
            "This is row 3 of type H5T_STR_SPACEPAD of         "
            "This is row 4 of type H5T_STR_SPACEPAD of         "
            "This is row 5 of type H5T_STR_SPACEPAD of         "
            "This is row 6 of type H5T_STR_SPACEPAD of         "
            "This is row 7 of type H5T_STR_SPACEPAD of         "
            "This is row 8 of type H5T_STR_SPACEPAD of         "
            "This is row 9 of type H5T_STR_SPACEPAD of         "
            </DataFromFile>
         </Data>
      </Dataset>
   </Group>
   <Group Name="g6" OBJ-XID="/g6" Parents="/" >
      <Dataset Name="dset6" OBJ-XID="/g6/dset6" Parents="/g6">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="10" MaxDimSize="10"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/>
            </AtomicType>
         </DataType>
         <Data>
            <DataFromFile>
            "This is row 0 of type H5T_STR_SPACEPAD of string a"
            "This is row 1 of type H5T_STR_SPACEPAD of string a"
            "This is row 2 of type H5T_STR_SPACEPAD of string a"
            "This is row 3 of type H5T_STR_SPACEPAD of string a"
            "This is row 4 of type H5T_STR_SPACEPAD of string a"
            "This is row 5 of type H5T_STR_SPACEPAD of string a"
            "This is row 6 of type H5T_STR_SPACEPAD of string a"
            "This is row 7 of type H5T_STR_SPACEPAD of string a"
            "This is row 8 of type H5T_STR_SPACEPAD of string a"
            "This is row 9 of type H5T_STR_SPACEPAD of string a"
            </DataFromFile>
         </Data>
      </Dataset>
   </Group>
</RootGroup>
</HDF5-File>