mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
14dcb6db33
Add "use the latest format" support for dataspace object header encode/ decode routines and clean up format a bit for the latest format (new to 1.8.x releases) Remove storing 'perm' parameter for array datatypes in memory and the file, and add test to make certain that if any user applications are attempting to store them, we get some reports back. (Should be unlikely, since the RefMan says that the parameter is not implemented and is unsupported). Carry those changes into the tests, etc. Clean up a bunch more compiler warnings. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
165 lines
5.2 KiB
XML
165 lines
5.2 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml --xml-ns=: --xml-dtd=http://somewhere.net tempty.h5'
|
|
#############################
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<HDF5-File xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://somewhere.net">
|
|
<RootGroup OBJ-XID="xid_928" H5Path="/">
|
|
<Dataset Name="Dataset1.0" OBJ-XID="xid_976" H5Path= "/Dataset1.0" Parents="xid_928" H5ParentPaths="/">
|
|
<StorageLayout>
|
|
<ContiguousLayout/>
|
|
</StorageLayout>
|
|
<FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
|
|
<FillValue>
|
|
<NoFill/>
|
|
</FillValue>
|
|
</FillValueInfo>
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<VLType>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</VLType>
|
|
</DataType>
|
|
<!-- Note: format of VL data not specified -->
|
|
<Data>
|
|
<DataFromFile>
|
|
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset2.0" OBJ-XID="xid_1576" H5Path= "/Dataset2.0" Parents="xid_928" H5ParentPaths="/">
|
|
<StorageLayout>
|
|
<ContiguousLayout/>
|
|
</StorageLayout>
|
|
<FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
|
|
<FillValue>
|
|
<NoFill/>
|
|
</FillValue>
|
|
</FillValueInfo>
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset3.0" OBJ-XID="xid_2128" H5Path= "/Dataset3.0" Parents="xid_928" H5ParentPaths="/">
|
|
<StorageLayout>
|
|
<ContiguousLayout/>
|
|
</StorageLayout>
|
|
<FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
|
|
<FillValue>
|
|
<NoFill/>
|
|
</FillValue>
|
|
</FillValueInfo>
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset4.0" OBJ-XID="xid_2400" H5Path= "/Dataset4.0" Parents="xid_928" H5ParentPaths="/">
|
|
<StorageLayout>
|
|
<ContiguousLayout/>
|
|
</StorageLayout>
|
|
<FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
|
|
<FillValue>
|
|
<NoFill/>
|
|
</FillValue>
|
|
</FillValueInfo>
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<ArrayType Ndims="1">
|
|
<ArrayDimension DimSize="4"/>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</ArrayType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset5.0" OBJ-XID="xid_2672" H5Path= "/Dataset5.0" Parents="xid_928" H5ParentPaths="/">
|
|
<StorageLayout>
|
|
<ContiguousLayout/>
|
|
</StorageLayout>
|
|
<FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
|
|
<FillValue>
|
|
<NoFill/>
|
|
</FillValue>
|
|
</FillValueInfo>
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<CompoundType>
|
|
<Field FieldName="a">
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</Field>
|
|
<Field FieldName="b">
|
|
<DataType>
|
|
<AtomicType>
|
|
<FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</Field>
|
|
<Field FieldName="c">
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="1" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</Field>
|
|
</CompoundType>
|
|
</DataType>
|
|
<!-- Note: format of compound data not specified -->
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0 0 0 0 0 0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</RootGroup>
|
|
</HDF5-File>
|