summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tobjref.h5.xml
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2001-02-23 22:07:15 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2001-02-23 22:07:15 (GMT)
commit9dfe1289211092adf5d951f8d9005b83f81af9a0 (patch)
treef9e8f29bdb4b8ce7ef7e74b6d87fa1bf77510aa2 /tools/testfiles/tobjref.h5.xml
parentd6a4d2a3d6e641a18efd25b6e0bf9e632dfba149 (diff)
downloadhdf5-9dfe1289211092adf5d951f8d9005b83f81af9a0.zip
hdf5-9dfe1289211092adf5d951f8d9005b83f81af9a0.tar.gz
hdf5-9dfe1289211092adf5d951f8d9005b83f81af9a0.tar.bz2
[svn-r3506]
Purpose: Bug fix. Description: Order of elements in groups is wrong. (Need to find out why h5gen accepted this at all.) Note that test output had to be corrected in some cases. Solution: Fixed xml_dump_group to do the right order to match the DTD Platforms tested: Linux, solaris.
Diffstat (limited to 'tools/testfiles/tobjref.h5.xml')
-rw-r--r--tools/testfiles/tobjref.h5.xml94
1 files changed, 47 insertions, 47 deletions
diff --git a/tools/testfiles/tobjref.h5.xml b/tools/testfiles/tobjref.h5.xml
index 3cfe6f7..beda91d 100644
--- a/tools/testfiles/tobjref.h5.xml
+++ b/tools/testfiles/tobjref.h5.xml
@@ -5,54 +5,7 @@ Expected output for 'h5dump --xml tobjref.h5'
<!DOCTYPE HDF5-File PUBLIC "HDF5-File.dtd" "http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.dtd">
<HDF5-File>
<RootGroup OBJ-XID="root">
- <Dataset Name="Dataset3" OBJ-XID="/Dataset3" Parents="root">
- <Dataspace>
- <SimpleDataspace Ndims="1">
- <Dimension DimSize="4" MaxDimSize="4"/>
- </SimpleDataspace>
- </Dataspace>
- <DataType>
- <AtomicType>
- <ReferenceType>
- <ObjectReferenceType />
- </ReferenceType>
- </AtomicType>
- </DataType>
- <Data>
- <DataFromFile>
- "/Group1/Dataset1"
- "/Group1/Dataset2"
- "/Group1"
- "/Group1/Datatype1"
- </DataFromFile>
- </Data>
- </Dataset>
<Group Name="Group1" OBJ-XID="/Group1" Parents="/" >
- <NamedDataType Name="Datatype1" OBJ-XID="/Group1/Datatype1" Parents="/Group1">
- <CompoundType>
- <Field FieldName="a">
- <DataType>
- <AtomicType>
- <IntegerType ByteOrder="BE" Sign="true" Size="4" />
- </AtomicType>
- </DataType>
- </Field>
- <Field FieldName="b">
- <DataType>
- <AtomicType>
- <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
- </AtomicType>
- </DataType>
- </Field>
- <Field FieldName="c">
- <DataType>
- <AtomicType>
- <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
- </AtomicType>
- </DataType>
- </Field>
- </CompoundType>
- </NamedDataType>
<Dataset Name="Dataset1" OBJ-XID="/Group1/Dataset1" Parents="/Group1">
<Dataspace>
<SimpleDataspace Ndims="1">
@@ -87,6 +40,53 @@ Expected output for 'h5dump --xml tobjref.h5'
</DataFromFile>
</Data>
</Dataset>
+ <NamedDataType Name="Datatype1" OBJ-XID="/Group1/Datatype1" Parents="/Group1">
+ <CompoundType>
+ <Field FieldName="a">
+ <DataType>
+ <AtomicType>
+ <IntegerType ByteOrder="BE" Sign="true" Size="4" />
+ </AtomicType>
+ </DataType>
+ </Field>
+ <Field FieldName="b">
+ <DataType>
+ <AtomicType>
+ <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
+ </AtomicType>
+ </DataType>
+ </Field>
+ <Field FieldName="c">
+ <DataType>
+ <AtomicType>
+ <FloatType ByteOrder="BE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
+ </AtomicType>
+ </DataType>
+ </Field>
+ </CompoundType>
+ </NamedDataType>
</Group>
+ <Dataset Name="Dataset3" OBJ-XID="/Dataset3" Parents="root">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="4" MaxDimSize="4"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <ReferenceType>
+ <ObjectReferenceType />
+ </ReferenceType>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "/Group1/Dataset1"
+ "/Group1/Dataset2"
+ "/Group1"
+ "/Group1/Datatype1"
+ </DataFromFile>
+ </Data>
+ </Dataset>
</RootGroup>
</HDF5-File>