mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
24160340ce
Tested: Fedora 10 gcc
77 lines
2.8 KiB
XML
77 lines
2.8 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml tenum.h5'
|
|
#############################
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<hdf5:HDF5-File xmlns:hdf5="http://hdfgroup.org/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdfgroup.org/DTDs/HDF5-File http://www.hdfgroup.org/DTDs/HDF5-File.xsd">
|
|
<hdf5:RootGroup OBJ-XID="xid_928" H5Path="/">
|
|
<hdf5:NamedDataType Name="enum normal" OBJ-XID="xid_976" H5Path="/enum normal" Parents="xid_928" 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 "white"
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
3
|
|
</hdf5:EnumValue>
|
|
<hdf5:EnumElement>
|
|
BLACK 'black'
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
4
|
|
</hdf5:EnumValue>
|
|
</hdf5:EnumType>
|
|
</hdf5:AtomicType>
|
|
</hdf5:DataType>
|
|
</hdf5:NamedDataType>
|
|
<hdf5:Dataset Name="table" OBJ-XID="xid_1384" H5Path= "/table" Parents="xid_928" 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" 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>
|