summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstr2.h5.xml
diff options
context:
space:
mode:
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>