summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tvlstr.h5.xml
blob: 3e5b07e40588984cb6c79b9f08bfdfec7e9ebbe1 (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
#############################
Expected output for 'h5dump --xml tvlstr.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">
   <Attribute Name="test_scalar">
      <Dataspace>
         <ScalarDataspace />
      </Dataspace>
      <DataType> 
         <AtomicType>
            <StringType Cset="H5T_CSET_ASCII" StrSize="4" StrPad="H5T_STR_NULLPAD"/>
         </AtomicType>
      </DataType>
      <Data>
         <DataFromFile>
         "This is the string for the attribute"
         </DataFromFile>
      </Data>
   </Attribute>
   <NamedDataType Name="vl_string_type" OBJ-XID="/vl_string_type" Parents="root">
      <DataType>
         <AtomicType>
            <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_NULLPAD"/>
         </AtomicType>
      </DataType>
   </NamedDataType>
   <Dataset Name="Dataset1" OBJ-XID="/Dataset1" Parents="root">
      <Dataspace>
         <SimpleDataspace Ndims="1">
            <Dimension  DimSize="4" MaxDimSize="4"/>
         </SimpleDataspace>
      </Dataspace>
      <DataType> 
         <AtomicType>
            <StringType Cset="H5T_CSET_ASCII" StrSize="4" StrPad="H5T_STR_NULLTERM"/>
         </AtomicType>
      </DataType>
      <Data>
         <DataFromFile>
         "Four score and seven years ago our forefathers brought forth on this continent a new nation,"
         "conceived in liberty and dedicated to the proposition that all men are created equal."
         "Now we are engaged in a great civil war,"
         "testing whether that nation or any nation so conceived and so dedicated can long endure."
         </DataFromFile>
      </Data>
   </Dataset>
</RootGroup>
</HDF5-File>