hdf5/tools/testfiles/tempty-ns-2.h5.xml
Quincey Koziol 14dcb6db33 [svn-r12736] Description:
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
2006-10-08 23:18:18 -05:00

165 lines
6.2 KiB
XML

#############################
Expected output for 'h5dump --xml --xml-ns=thing: tempty.h5'
#############################
<?xml version="1.0" encoding="UTF-8"?>
<thing:HDF5-File xmlns:thing="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">
<thing:RootGroup OBJ-XID="xid_928" H5Path="/">
<thing:Dataset Name="Dataset1.0" OBJ-XID="xid_976" H5Path= "/Dataset1.0" Parents="xid_928" H5ParentPaths="/">
<thing:StorageLayout>
<thing:ContiguousLayout/>
</thing:StorageLayout>
<thing:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
<thing:FillValue>
<thing:NoFill/>
</thing:FillValue>
</thing:FillValueInfo>
<thing:Dataspace>
<thing:SimpleDataspace Ndims="1">
<thing:Dimension DimSize="4" MaxDimSize="4"/>
</thing:SimpleDataspace>
</thing:Dataspace>
<thing:DataType>
<thing:VLType>
<thing:DataType>
<thing:AtomicType>
<thing:IntegerType ByteOrder="LE" Sign="true" Size="4" />
</thing:AtomicType>
</thing:DataType>
</thing:VLType>
</thing:DataType>
<!-- Note: format of VL data not specified -->
<thing:Data>
<thing:DataFromFile>
</thing:DataFromFile>
</thing:Data>
</thing:Dataset>
<thing:Dataset Name="Dataset2.0" OBJ-XID="xid_1576" H5Path= "/Dataset2.0" Parents="xid_928" H5ParentPaths="/">
<thing:StorageLayout>
<thing:ContiguousLayout/>
</thing:StorageLayout>
<thing:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
<thing:FillValue>
<thing:NoFill/>
</thing:FillValue>
</thing:FillValueInfo>
<thing:Dataspace>
<thing:SimpleDataspace Ndims="1">
<thing:Dimension DimSize="4" MaxDimSize="4"/>
</thing:SimpleDataspace>
</thing:Dataspace>
<thing:DataType>
<thing:AtomicType>
<thing:IntegerType ByteOrder="LE" Sign="true" Size="4" />
</thing:AtomicType>
</thing:DataType>
<thing:Data>
<thing:DataFromFile>
0 0 0 0
</thing:DataFromFile>
</thing:Data>
</thing:Dataset>
<thing:Dataset Name="Dataset3.0" OBJ-XID="xid_2128" H5Path= "/Dataset3.0" Parents="xid_928" H5ParentPaths="/">
<thing:StorageLayout>
<thing:ContiguousLayout/>
</thing:StorageLayout>
<thing:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
<thing:FillValue>
<thing:NoFill/>
</thing:FillValue>
</thing:FillValueInfo>
<thing:Dataspace>
<thing:SimpleDataspace Ndims="1">
<thing:Dimension DimSize="4" MaxDimSize="4"/>
</thing:SimpleDataspace>
</thing:Dataspace>
<thing:DataType>
<thing:AtomicType>
<thing:FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
</thing:AtomicType>
</thing:DataType>
<thing:Data>
<thing:DataFromFile>
0 0 0 0
</thing:DataFromFile>
</thing:Data>
</thing:Dataset>
<thing:Dataset Name="Dataset4.0" OBJ-XID="xid_2400" H5Path= "/Dataset4.0" Parents="xid_928" H5ParentPaths="/">
<thing:StorageLayout>
<thing:ContiguousLayout/>
</thing:StorageLayout>
<thing:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
<thing:FillValue>
<thing:NoFill/>
</thing:FillValue>
</thing:FillValueInfo>
<thing:Dataspace>
<thing:SimpleDataspace Ndims="1">
<thing:Dimension DimSize="4" MaxDimSize="4"/>
</thing:SimpleDataspace>
</thing:Dataspace>
<thing:DataType>
<thing:ArrayType Ndims="1">
<thing:ArrayDimension DimSize="4"/>
<thing:DataType>
<thing:AtomicType>
<thing:IntegerType ByteOrder="LE" Sign="true" Size="4" />
</thing:AtomicType>
</thing:DataType>
</thing:ArrayType>
</thing:DataType>
<thing:Data>
<thing:DataFromFile>
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
</thing:DataFromFile>
</thing:Data>
</thing:Dataset>
<thing:Dataset Name="Dataset5.0" OBJ-XID="xid_2672" H5Path= "/Dataset5.0" Parents="xid_928" H5ParentPaths="/">
<thing:StorageLayout>
<thing:ContiguousLayout/>
</thing:StorageLayout>
<thing:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
<thing:FillValue>
<thing:NoFill/>
</thing:FillValue>
</thing:FillValueInfo>
<thing:Dataspace>
<thing:SimpleDataspace Ndims="1">
<thing:Dimension DimSize="4" MaxDimSize="4"/>
</thing:SimpleDataspace>
</thing:Dataspace>
<thing:DataType>
<thing:CompoundType>
<thing:Field FieldName="a">
<thing:DataType>
<thing:AtomicType>
<thing:IntegerType ByteOrder="LE" Sign="true" Size="4" />
</thing:AtomicType>
</thing:DataType>
</thing:Field>
<thing:Field FieldName="b">
<thing:DataType>
<thing:AtomicType>
<thing:FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
</thing:AtomicType>
</thing:DataType>
</thing:Field>
<thing:Field FieldName="c">
<thing:DataType>
<thing:AtomicType>
<thing:IntegerType ByteOrder="LE" Sign="true" Size="1" />
</thing:AtomicType>
</thing:DataType>
</thing:Field>
</thing:CompoundType>
</thing:DataType>
<!-- Note: format of compound data not specified -->
<thing:Data>
<thing:DataFromFile>
0 0 0 0 0 0 0 0 0 0 0 0
</thing:DataFromFile>
</thing:Data>
</thing:Dataset>
</thing:RootGroup>
</thing:HDF5-File>