diff options
Diffstat (limited to 'tools/testfiles/tstr.h5.xml')
-rw-r--r-- | tools/testfiles/tstr.h5.xml | 359 |
1 files changed, 359 insertions, 0 deletions
diff --git a/tools/testfiles/tstr.h5.xml b/tools/testfiles/tstr.h5.xml new file mode 100644 index 0000000..b31aacc --- /dev/null +++ b/tools/testfiles/tstr.h5.xml @@ -0,0 +1,359 @@ +############################# +Expected output for 'h5dump --xml tstr.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="comp1" OBJ-XID="/comp1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="3" MaxDimSize="3"/> + <Dimension DimSize="6" MaxDimSize="6"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <CompoundType> + <Field FieldName="int_array"> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="8" DimPerm="0"/> + <ArrayDimension DimSize="10" DimPerm="1"/> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + <Field FieldName="string"> + <DataType> + <ArrayType Ndims="2"> + <ArrayDimension DimSize="3" DimPerm="0"/> + <ArrayDimension DimSize="4" DimPerm="1"/> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="32" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + </ArrayType> + </DataType> + </Field> + </CompoundType> + </DataType> + <!-- Note: format of compound data not specified --> + <Data> + <DataFromFile> + 0 1 4 9 16 25 36 49 64 81 + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 + 144 169 196 225 256 289 324 361 400 441 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 0 1 4 9 16 25 36 49 64 81 + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 + 144 169 196 225 256 289 324 361 400 441 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 0 1 4 9 16 25 36 49 64 81 + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 1 4 9 16 25 36 49 64 81 100 + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 4 9 16 25 36 49 64 81 100 121 + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 9 16 25 36 49 64 81 100 121 144 + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 16 25 36 49 64 81 100 121 144 169 + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + 25 36 49 64 81 100 121 144 169 196 + 36 49 64 81 100 121 144 169 196 225 + 49 64 81 100 121 144 169 196 225 256 + 64 81 100 121 144 169 196 225 256 289 + 81 100 121 144 169 196 225 256 289 324 + 100 121 144 169 196 225 256 289 324 361 + 121 144 169 196 225 256 289 324 361 400 + 144 169 196 225 256 289 324 361 400 441 "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" "abcdefgh12345678abcdefgh12345678" + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string1" OBJ-XID="/string1" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="2"> + <Dimension DimSize="3" MaxDimSize="3"/> + <Dimension DimSize="4" MaxDimSize="4"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="5" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "s1" + "s2" + "s3" + "s4" + "s5" + "s6" + "s7" + "s8" + "s9" + "s0" + "s1" + "s2" + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string2" OBJ-XID="/string2" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="20" MaxDimSize="20"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="11" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "ab cd ef1 " + "ab cd ef2 " + "ab cd ef3 " + "ab cd ef4 " + "ab cd ef5 " + "ab cd ef6 " + "ab cd ef7 " + "ab cd ef8 " + "ab cd ef9 " + "ab cd ef0 " + "ab cd ef1 " + "ab cd ef2 " + "ab cd ef3 " + "ab cd ef4 " + "ab cd ef5 " + "ab cd ef6 " + "ab cd ef7 " + "ab cd ef8 " + "ab cd ef9 " + "ab cd ef0 " + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string3" OBJ-XID="/string3" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="27" MaxDimSize="27"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="8" StrPad="H5T_STR_NULLPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "abcd0" + "abcd1" + "abcd2" + "abcd3" + "abcd4" + "abcd5" + "abcd6" + "abcd7" + "abcd8" + "abcd9" + "abcd0" + "abcd1" + "abcd2" + "abcd3" + "abcd4" + "abcd5" + "abcd6" + "abcd7" + "abcd8" + "abcd9" + "abcd0" + "abcd1" + "abcd2" + "abcd3" + "abcd4" + "abcd5" + "abcd6" + </DataFromFile> + </Data> + </Dataset> + <Dataset Name="string4" OBJ-XID="/string4" Parents="root"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="3" MaxDimSize="3"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="168" StrPad="H5T_STR_SPACEPAD"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "s1234567890123456789 " + "s1234567890123456789 " + "s1234567890123456789 " + </DataFromFile> + </Data> + </Dataset> +</RootGroup> +</HDF5-File> |