summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tnamed_dtype_attr.h5.xml
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-05 21:23:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-05 21:23:57 (GMT)
commit651bd4e252405b2f579e2bbb361353401866bd47 (patch)
treef10eabd7cb620aefaefd8d27c41e12a0ac566f35 /tools/testfiles/tnamed_dtype_attr.h5.xml
parentf768247888902ed9eeb2130d13f6c67b89f9c80f (diff)
downloadhdf5-651bd4e252405b2f579e2bbb361353401866bd47.zip
hdf5-651bd4e252405b2f579e2bbb361353401866bd47.tar.gz
hdf5-651bd4e252405b2f579e2bbb361353401866bd47.tar.bz2
[svn-r7542] Purpose:
Bug fixes and code cleanup Description: Whitespace removal. Added testfiles for named datatypes in attributes. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'tools/testfiles/tnamed_dtype_attr.h5.xml')
-rw-r--r--tools/testfiles/tnamed_dtype_attr.h5.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/tools/testfiles/tnamed_dtype_attr.h5.xml b/tools/testfiles/tnamed_dtype_attr.h5.xml
new file mode 100644
index 0000000..38700db
--- /dev/null
+++ b/tools/testfiles/tnamed_dtype_attr.h5.xml
@@ -0,0 +1,43 @@
+#############################
+Expected output for 'h5dump --xml tnamed_dtype_attr.h5'
+#############################
+<?xml version="1.0" encoding="UTF-8"?>
+<hdf5:HDF5-File xmlns:hdf5="http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdf.ncsa.uiuc.edu/DTDs/HDF5File http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.xsd">
+<hdf5:RootGroup OBJ-XID="xid_928" H5Path="/">
+ <hdf5:NamedDataType Name="Datatype" OBJ-XID="xid_976" H5Path="/Datatype" Parents="xid_928" H5ParentPaths="/">
+ <hdf5:DataType>
+ <hdf5:AtomicType>
+ <hdf5:IntegerType ByteOrder="LE" Sign="true" Size="4" />
+ </hdf5:AtomicType>
+ </hdf5:DataType>
+ </hdf5:NamedDataType>
+ <hdf5:Dataset Name="Dataset" OBJ-XID="xid_1384" H5Path= "/Dataset" Parents="xid_928" H5ParentPaths="/">
+ <hdf5:StorageLayout>
+ <hdf5:ContiguousLayout/>
+ </hdf5:StorageLayout>
+ <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
+ <hdf5:FillValue>
+ <hdf5:NoFill/>
+ </hdf5:FillValue>
+ </hdf5:FillValueInfo>
+ <hdf5:Dataspace>
+ <hdf5:ScalarDataspace />
+ </hdf5:Dataspace>
+ <hdf5:NamedDataTypePtr OBJ-XID="xid_976" H5Path="/Datatype" />
+ <hdf5:Attribute Name="Attribute">
+ <hdf5:Dataspace>
+ <hdf5:ScalarDataspace />
+ </hdf5:Dataspace>
+ <hdf5:NamedDataTypePtr OBJ-XID="xid_976" H5Path="/Datatype" />
+ <hdf5:Data>
+ <hdf5:DataFromFile>
+ 8
+ </hdf5:DataFromFile>
+ </hdf5:Data>
+ </hdf5:Attribute>
+ <hdf5:Data>
+ <hdf5:NoData/>
+ </hdf5:Data>
+ </hdf5:Dataset>
+</hdf5:RootGroup>
+</hdf5:HDF5-File>