Skip to content

vtkHDFReader: Handle both cases where Type attribute is variable/fixed-length

Junghyeon Park requested to merge j824h/vtk:j824h-master-patch-75663 into master

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.

Merge request reports