hdf5/tools/testfiles/tstr.h5.xml
Robert E. McGrath d12fa9b5c5 [svn-r3408] Purpose:
Adding new feature.
Description:
  XML output option to h5dump
Platforms tested:
  SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
2001-02-14 15:48:22 -05:00

360 lines
20 KiB
XML

#############################
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>