Skip to content

BUG: error for non-fatal xml issue

As the original author indicated [1], this was meant to be a warning, but the use of vtkErrorMacro indicates and error even when the read is successful.

For example, reading an empty vtkPolyData results in an error message even though the object is correctly read.

This leads to backwards incompatible behavior as discussed in [2].

[1] 7f768465

[2] https://github.com/Slicer/Slicer/issues/6447

Merge request reports