summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstring.h5.xml
blob: 3617aaf183958362f8725e670e0c0dc19e247162 (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
#############################
Expected output for 'h5dump --xml tstring.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">
   <Dataset Name="dset1" OBJ-XID="/dset1" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="7" MaxDimSize="7"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <AtomicType>
            <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/>
         </AtomicType>
      </DataType>
      <Attribute Name="attr1">
         <Dataspace>
            <SimpleDataspace Ndims="1">
               <Dimension  DimSize="7" MaxDimSize="7"/>
            </SimpleDataspace>
         </Dataspace>
         <DataType> 
            <AtomicType>
               <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/>
            </AtomicType>
         </DataType>
         <Data>
            <DataFromFile>
            "                "
            "                "
            "                "
            "                "
            "                "
            "                "
            "                "
            </DataFromFile>
         </Data>
      </Attribute>
      <Data>
         <DataFromFile>
         "String withsp   "
         "String\\withsl   "
         "String&amp;withamp  "
         "String&lt;withlt   "
         "String&gt;withgt   "
         "String&apos;withapos "
         "String\"withquot "
         </DataFromFile>
      </Data>
   </Dataset>
</RootGroup>
</HDF5-File>