summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tenum.h5.xml
blob: 529aada4f2e7cb89150d0a522bae6cfd084fbb4c (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
#############################
Expected output for 'h5dump --xml tenum.h5'
#############################
<?xml version="1.0" encoding="UTF-8"?>
<hdf5:HDF5-File xmlns:hdf5="http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdf.ncsa.uiuc.edu/DTDs/HDF5File http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.xsd">
<hdf5:RootGroup OBJ-XID="xid_928-0" H5Path="/">
   <hdf5:NamedDataType Name="enum normal" OBJ-XID="xid_976-0" H5Path="/enum normal" Parents="xid_928-0" H5ParentPaths="/">
      <hdf5:DataType>
         <hdf5:AtomicType>
            <hdf5:EnumType Nelems="5">
            <hdf5:DataType>
            <hdf5:AtomicType>
               <hdf5:IntegerType ByteOrder="LE" Sign="true" Size="4" />
            </hdf5:AtomicType>
            </hdf5:DataType>
               <hdf5:EnumElement>
                  RED
               </hdf5:EnumElement>
               <hdf5:EnumValue>
                  0
               </hdf5:EnumValue>
               <hdf5:EnumElement>
                  GREEN
green
               </hdf5:EnumElement>
               <hdf5:EnumValue>
                  1
               </hdf5:EnumValue>
               <hdf5:EnumElement>
                  BLUE blue
               </hdf5:EnumElement>
               <hdf5:EnumValue>
                  2
               </hdf5:EnumValue>
               <hdf5:EnumElement>
                  WHITE &quot;white&quot;
               </hdf5:EnumElement>
               <hdf5:EnumValue>
                  3
               </hdf5:EnumValue>
               <hdf5:EnumElement>
                  BLACK &apos;black&apos;
               </hdf5:EnumElement>
               <hdf5:EnumValue>
                  4
               </hdf5:EnumValue>
            </hdf5:EnumType>
         </hdf5:AtomicType>
      </hdf5:DataType>
   </hdf5:NamedDataType>
   <hdf5:Dataset Name="table" OBJ-XID="xid_1384-0" H5Path= "/table" Parents="xid_928-0" H5ParentPaths="/">
      <hdf5:StorageLayout>
         <hdf5:ContiguousLayout/>
      </hdf5:StorageLayout>
         <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
         <hdf5:FillValue>
               <hdf5:NoFill/>
         </hdf5:FillValue>
      </hdf5:FillValueInfo>
      <hdf5:Dataspace>
         <hdf5:SimpleDataspace Ndims="1">
            <hdf5:Dimension  DimSize="20" MaxDimSize="20"/>
         </hdf5:SimpleDataspace>
      </hdf5:Dataspace>
      <hdf5:NamedDataTypePtr OBJ-XID="xid_976-0" H5Path="/enum normal" />
      <hdf5:Data>
         <hdf5:DataFromFile>
         RED GREEN\ngreen BLUE blue GREEN\ngreen WHITE \"white\" WHITE \"white\"
         BLACK \'black\' GREEN\ngreen BLUE blue RED RED BLUE blue GREEN\ngreen
         BLACK \'black\' WHITE \"white\" RED WHITE \"white\" GREEN\ngreen
         GREEN\ngreen BLUE blue
         </hdf5:DataFromFile>
      </hdf5:Data>
   </hdf5:Dataset>
</hdf5:RootGroup>
</hdf5:HDF5-File>