vtkXMLUnstructuredGridWriter: corrupted output for polyhedral cells in appended mode
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The Graphics\Cxx\TestPolyhedron0.cxx test works in ASCII mode, but comment-out this line and it breaks:
writer->SetDataModeToAscii();
Alternatively, explicitly change it to:
writer->SetDataModeToAppended();
(Binary mode works fine.)
The resulting vtu file has malformed XML. It starts like this:
" offset="588"="1.0"?> ...etc."
Still an issue in VTK 5.10.0.
An improved test would try all the different data modes (ascii, binary, appended) and compressors (zlib, none).