mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
651bd4e252
Bug fixes and code cleanup Description: Whitespace removal. Added testfiles for named datatypes in attributes. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
74 lines
2.6 KiB
XML
74 lines
2.6 KiB
XML
#############################
|
|
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_696" H5Path="/">
|
|
<hdf5:NamedDataType Name="enum normal" OBJ-XID="xid_744" H5Path="/enum normal" Parents="xid_696" H5ParentPaths="/">
|
|
<hdf5:DataType>
|
|
<hdf5:AtomicType>
|
|
<hdf5:EnumType Nelems="5">
|
|
<hdf5:DataType>
|
|
<hdf5:AtomicType>
|
|
<hdf5:IntegerType ByteOrder="BE" Sign="true" Size="4" />
|
|
</hdf5:AtomicType>
|
|
</hdf5:DataType>
|
|
<hdf5:EnumElement>
|
|
RED
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
0
|
|
</hdf5:EnumValue>
|
|
<hdf5:EnumElement>
|
|
GREEN
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
1
|
|
</hdf5:EnumValue>
|
|
<hdf5:EnumElement>
|
|
BLUE
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
2
|
|
</hdf5:EnumValue>
|
|
<hdf5:EnumElement>
|
|
WHITE
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
3
|
|
</hdf5:EnumValue>
|
|
<hdf5:EnumElement>
|
|
BLACK
|
|
</hdf5:EnumElement>
|
|
<hdf5:EnumValue>
|
|
4
|
|
</hdf5:EnumValue>
|
|
</hdf5:EnumType>
|
|
</hdf5:AtomicType>
|
|
</hdf5:DataType>
|
|
</hdf5:NamedDataType>
|
|
<hdf5:Dataset Name="table" OBJ-XID="xid_1152" H5Path= "/table" Parents="xid_696" 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_744" H5Path="/enum normal" />
|
|
<hdf5:Data>
|
|
<hdf5:DataFromFile>
|
|
RED GREEN BLUE GREEN WHITE WHITE BLACK GREEN BLUE RED RED BLUE GREEN
|
|
BLACK WHITE RED WHITE GREEN GREEN BLUE
|
|
</hdf5:DataFromFile>
|
|
</hdf5:Data>
|
|
</hdf5:Dataset>
|
|
</hdf5:RootGroup>
|
|
</hdf5:HDF5-File>
|