diff options
Diffstat (limited to 'tools/testfiles/tenum.h5.xml')
-rw-r--r-- | tools/testfiles/tenum.h5.xml | 102 |
1 files changed, 57 insertions, 45 deletions
diff --git a/tools/testfiles/tenum.h5.xml b/tools/testfiles/tenum.h5.xml index 126d049..2a4be7c 100644 --- a/tools/testfiles/tenum.h5.xml +++ b/tools/testfiles/tenum.h5.xml @@ -2,60 +2,72 @@ Expected output for 'h5dump --xml tenum.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"> - <NamedDataType Name="enum normal" OBJ-XID="/enum normal" Parents="root"> - <DataType> - <AtomicType> - <EnumType Nelems="5"> - <EnumElement> +<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-0" H5Path="/"> + <hdf5:NamedDataType Name="enum normal" OBJ-XID="xid_744-0" H5Path="/enum normal" Parents="xid_696-0" 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 - </EnumElement> - <EnumValue> + </hdf5:EnumElement> + <hdf5:EnumValue> 0 - </EnumValue> - <EnumElement> + </hdf5:EnumValue> + <hdf5:EnumElement> GREEN - </EnumElement> - <EnumValue> + </hdf5:EnumElement> + <hdf5:EnumValue> 1 - </EnumValue> - <EnumElement> + </hdf5:EnumValue> + <hdf5:EnumElement> BLUE - </EnumElement> - <EnumValue> + </hdf5:EnumElement> + <hdf5:EnumValue> 2 - </EnumValue> - <EnumElement> + </hdf5:EnumValue> + <hdf5:EnumElement> WHITE - </EnumElement> - <EnumValue> + </hdf5:EnumElement> + <hdf5:EnumValue> 3 - </EnumValue> - <EnumElement> + </hdf5:EnumValue> + <hdf5:EnumElement> BLACK - </EnumElement> - <EnumValue> + </hdf5:EnumElement> + <hdf5:EnumValue> 4 - </EnumValue> - </EnumType> - </AtomicType> - </DataType> - </NamedDataType> - <Dataset Name="table" OBJ-XID="/table" Parents="root"> - <Dataspace> - <SimpleDataspace Ndims="1"> - <Dimension DimSize="20" MaxDimSize="20"/> - </SimpleDataspace> - </Dataspace> - <NamedDataTypePtr OBJ-XID="/enum normal"/> - <Data> - <DataFromFile> + </hdf5:EnumValue> + </hdf5:EnumType> + </hdf5:AtomicType> + </hdf5:DataType> + </hdf5:NamedDataType> + <hdf5:Dataset Name="table" OBJ-XID="xid_1152-0" H5Path= "/table" Parents="xid_696-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_744-0" 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 - </DataFromFile> - </Data> - </Dataset> -</RootGroup> -</HDF5-File> + </hdf5:DataFromFile> + </hdf5:Data> + </hdf5:Dataset> +</hdf5:RootGroup> +</hdf5:HDF5-File> |