summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tobjref.h5.xml
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2001-02-14 20:48:22 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2001-02-14 20:48:22 (GMT)
commitd12fa9b5c5ff0eb1919eb4233845867dcc6c63c0 (patch)
treee3e3ee06aec1b37f1f6ade374a1bc8292cb7ce1d /tools/testfiles/tobjref.h5.xml
parenta66186cc0dd49a1800c56688e5347fc39abb8c3a (diff)
downloadhdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.zip
hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.tar.gz
hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.tar.bz2
[svn-r3408] Purpose:
Adding new feature. Description: XML output option to h5dump Platforms tested: SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
Diffstat (limited to 'tools/testfiles/tobjref.h5.xml')
-rw-r--r--tools/testfiles/tobjref.h5.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/tools/testfiles/tobjref.h5.xml b/tools/testfiles/tobjref.h5.xml
new file mode 100644
index 0000000..f0b856e
--- /dev/null
+++ b/tools/testfiles/tobjref.h5.xml
@@ -0,0 +1,92 @@
+#############################
+Expected output for 'h5dump --xml tobjref.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">
+ <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="Datatype1">
+ <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">
+ <Dimension DimSize="4" MaxDimSize="4"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <IntegerType ByteOrder="BE" Sign="false" Size="4" />
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ 0 3 6 9
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ <Dataset Name="Dataset2" OBJ-XID="/Group1/Dataset2" Parents="/Group1">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="4" MaxDimSize="4"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <IntegerType ByteOrder="BE" Sign="false" Size="1" />
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ 0 0 0 0
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+</RootGroup>
+</HDF5-File>