summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tenum.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/tenum.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/tenum.h5.xml')
-rw-r--r--tools/testfiles/tenum.h5.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/tools/testfiles/tenum.h5.xml b/tools/testfiles/tenum.h5.xml
index 8fc64a2..7769cb2 100644
--- a/tools/testfiles/tenum.h5.xml
+++ b/tools/testfiles/tenum.h5.xml
@@ -5,6 +5,20 @@ Expected output for 'h5dump --xml tenum.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="table" OBJ-XID="/table" Parents="root">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="20" MaxDimSize="20"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <NamedDataTypePtr OBJ-XID="/enum normal"/>
+ <Data>
+ <DataFromFile>
+ RED GREEN BLUE GREEN WHITE WHITE BLACK GREEN BLUE RED RED BLUE GREEN
+ BLACK WHITE RED WHITE GREEN GREEN BLUE
+ </DataFromFile>
+ </Data>
+ </Dataset>
<NamedDataType Name="enum normal" OBJ-XID="/enum normal" Parents="root">
<AtomicType>
<EnumType Nelems="5">
@@ -41,19 +55,5 @@ Expected output for 'h5dump --xml tenum.h5'
</EnumType>
</AtomicType>
</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>
- 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>