summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstr2.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/tstr2.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/tstr2.h5.xml')
-rw-r--r--tools/testfiles/tstr2.h5.xml196
1 files changed, 196 insertions, 0 deletions
diff --git a/tools/testfiles/tstr2.h5.xml b/tools/testfiles/tstr2.h5.xml
new file mode 100644
index 0000000..046cfba
--- /dev/null
+++ b/tools/testfiles/tstr2.h5.xml
@@ -0,0 +1,196 @@
+#############################
+Expected output for 'h5dump --xml tstr2.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">
+ <Group Name="g1" OBJ-XID="/g1" Parents="/" >
+ <Dataset Name="dset1" OBJ-XID="/g1/dset1" Parents="/g1">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="10" MaxDimSize="10"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/>
+ </AtomicType>
+ </DataType>
+ <Attribute Name="attr1">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="3" MaxDimSize="3"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="11" StrPad="H5T_STR_NULLTERM"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "0123456789"
+ "abcdefghij"
+ "ABCDEFGHIJ"
+ </DataFromFile>
+ </Data>
+ </Attribute>
+ <Data>
+ <DataFromFile>
+ "This is row 0 of type H5T_STR_NULLTERM of"
+ "This is row 1 of type H5T_STR_NULLTERM of"
+ "This is row 2 of type H5T_STR_NULLTERM of"
+ "This is row 3 of type H5T_STR_NULLTERM of"
+ "This is row 4 of type H5T_STR_NULLTERM of"
+ "This is row 5 of type H5T_STR_NULLTERM of"
+ "This is row 6 of type H5T_STR_NULLTERM of"
+ "This is row 7 of type H5T_STR_NULLTERM of"
+ "This is row 8 of type H5T_STR_NULLTERM of"
+ "This is row 9 of type H5T_STR_NULLTERM of"
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+ <Group Name="g2" OBJ-XID="/g2" Parents="/" >
+ <Dataset Name="dset2" OBJ-XID="/g2/dset2" Parents="/g2">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="10" MaxDimSize="10"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "This is row 0 of type H5T_STR_NULLTERM of string "
+ "This is row 1 of type H5T_STR_NULLTERM of string "
+ "This is row 2 of type H5T_STR_NULLTERM of string "
+ "This is row 3 of type H5T_STR_NULLTERM of string "
+ "This is row 4 of type H5T_STR_NULLTERM of string "
+ "This is row 5 of type H5T_STR_NULLTERM of string "
+ "This is row 6 of type H5T_STR_NULLTERM of string "
+ "This is row 7 of type H5T_STR_NULLTERM of string "
+ "This is row 8 of type H5T_STR_NULLTERM of string "
+ "This is row 9 of type H5T_STR_NULLTERM of string "
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+ <Group Name="g3" OBJ-XID="/g3" Parents="/" >
+ <Dataset Name="dset3" OBJ-XID="/g3/dset3" Parents="/g3">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="10" MaxDimSize="10"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "This is row 0 of type H5T_STR_NULLPAD of"
+ "This is row 1 of type H5T_STR_NULLPAD of"
+ "This is row 2 of type H5T_STR_NULLPAD of"
+ "This is row 3 of type H5T_STR_NULLPAD of"
+ "This is row 4 of type H5T_STR_NULLPAD of"
+ "This is row 5 of type H5T_STR_NULLPAD of"
+ "This is row 6 of type H5T_STR_NULLPAD of"
+ "This is row 7 of type H5T_STR_NULLPAD of"
+ "This is row 8 of type H5T_STR_NULLPAD of"
+ "This is row 9 of type H5T_STR_NULLPAD of"
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+ <Group Name="g4" OBJ-XID="/g4" Parents="/" >
+ <Dataset Name="dset4" OBJ-XID="/g4/dset4" Parents="/g4">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="10" MaxDimSize="10"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "This is row 0 of type H5T_STR_NULLPAD of string ar"
+ "This is row 1 of type H5T_STR_NULLPAD of string ar"
+ "This is row 2 of type H5T_STR_NULLPAD of string ar"
+ "This is row 3 of type H5T_STR_NULLPAD of string ar"
+ "This is row 4 of type H5T_STR_NULLPAD of string ar"
+ "This is row 5 of type H5T_STR_NULLPAD of string ar"
+ "This is row 6 of type H5T_STR_NULLPAD of string ar"
+ "This is row 7 of type H5T_STR_NULLPAD of string ar"
+ "This is row 8 of type H5T_STR_NULLPAD of string ar"
+ "This is row 9 of type H5T_STR_NULLPAD of string ar"
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+ <Group Name="g5" OBJ-XID="/g5" Parents="/" >
+ <Dataset Name="dset5" OBJ-XID="/g5/dset5" Parents="/g5">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="10" MaxDimSize="10"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "This is row 0 of type H5T_STR_SPACEPAD of "
+ "This is row 1 of type H5T_STR_SPACEPAD of "
+ "This is row 2 of type H5T_STR_SPACEPAD of "
+ "This is row 3 of type H5T_STR_SPACEPAD of "
+ "This is row 4 of type H5T_STR_SPACEPAD of "
+ "This is row 5 of type H5T_STR_SPACEPAD of "
+ "This is row 6 of type H5T_STR_SPACEPAD of "
+ "This is row 7 of type H5T_STR_SPACEPAD of "
+ "This is row 8 of type H5T_STR_SPACEPAD of "
+ "This is row 9 of type H5T_STR_SPACEPAD of "
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+ <Group Name="g6" OBJ-XID="/g6" Parents="/" >
+ <Dataset Name="dset6" OBJ-XID="/g6/dset6" Parents="/g6">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="10" MaxDimSize="10"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ "This is row 0 of type H5T_STR_SPACEPAD of string a"
+ "This is row 1 of type H5T_STR_SPACEPAD of string a"
+ "This is row 2 of type H5T_STR_SPACEPAD of string a"
+ "This is row 3 of type H5T_STR_SPACEPAD of string a"
+ "This is row 4 of type H5T_STR_SPACEPAD of string a"
+ "This is row 5 of type H5T_STR_SPACEPAD of string a"
+ "This is row 6 of type H5T_STR_SPACEPAD of string a"
+ "This is row 7 of type H5T_STR_SPACEPAD of string a"
+ "This is row 8 of type H5T_STR_SPACEPAD of string a"
+ "This is row 9 of type H5T_STR_SPACEPAD of string a"
+ </DataFromFile>
+ </Data>
+ </Dataset>
+ </Group>
+</RootGroup>
+</HDF5-File>