vtkHDFReader: Handle both cases where Type attribute is variable/fixed-length
Issue: #18760 (closed)
This modifies the check introduced in 60e5c5ef, to allow vtkHDF files to have Type attribute with STRSIZE
of H5T_VARIABLE
.
ReadDataSetType()
checks whether the datatype of the Type attribute is a variable-length string or a fixed-length string.
Also, the failures of variable/fixed-length check or value read is reported with explicit error messages.