WriteVTK.jl
WriteVTK.jl copied to clipboard
Export leads to corrupted file
I am trying to export data using WriteVTK v1.18.2 to be examined with paraview. Specifically, the data is based on a rectilinear grid of size 41 x 41. The output script is given by
The resulting output file is the following (zipped to allow upload):
The file is corrupted and unreadable as reported by paraview:
( 6.005s) [paraview ] vtkXMLParser.cxx:364 ERR| vtkXMLDataParser (0x5a6b5f2f9110): Error parsing XML in stream at line 17, column 3, byte index 811: not well-formed (invalid token)
( 6.055s) [paraview ] vtkXMLReader.cxx:576 ERR| vtkXMLRectilinearGridReader (0x5a6b5e915670): Error parsing input file. ReadXMLInformation aborting.
This is confirmed using other XML libraries. Is there something wrong in the calls to the exporting or is this some error in the processing inside WriteVTK?