summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstring.h5.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testfiles/tstring.h5.xml')
-rw-r--r--tools/testfiles/tstring.h5.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/tools/testfiles/tstring.h5.xml b/tools/testfiles/tstring.h5.xml
new file mode 100644
index 0000000..3617aaf
--- /dev/null
+++ b/tools/testfiles/tstring.h5.xml
@@ -0,0 +1,55 @@
+#############################
+Expected output for 'h5dump --xml tstring.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="dset1" OBJ-XID="/dset1" Parents="root">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="7" MaxDimSize="7"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/>
+ </AtomicType>
+ </DataType>
+ <Attribute Name="attr1">
+ <Dataspace>
+ <SimpleDataspace Ndims="1">
+ <Dimension DimSize="7" MaxDimSize="7"/>
+ </SimpleDataspace>
+ </Dataspace>
+ <DataType>
+ <AtomicType>
+ <StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/>
+ </AtomicType>
+ </DataType>
+ <Data>
+ <DataFromFile>
+ " "
+ " "
+ " "
+ " "
+ " "
+ " "
+ " "
+ </DataFromFile>
+ </Data>
+ </Attribute>
+ <Data>
+ <DataFromFile>
+ "String withsp "
+ "String\\withsl "
+ "String&amp;withamp "
+ "String&lt;withlt "
+ "String&gt;withgt "
+ "String&apos;withapos "
+ "String\"withquot "
+ </DataFromFile>
+ </Data>
+ </Dataset>
+</RootGroup>
+</HDF5-File>