<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear all, <br>
<br>
I wrote two simple Matlab scripts to output data in a XML format
(this is VTS - for structured grids). In the attached scripts the
structured mesh is 2x2, the values to be visualized are all ones.
The only difference is that one script outputs the data in ASCII
format, another - in binary one. Using ParaView for visualization of
the ASCII file is nice, while with binary data I get the following
error:<br>
<br>
ERROR: In
/home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XMLParser/vtkXMLParser.cxx,
line 483<br>
vtkXMLDataParser (0x54bcd40): Error parsing XML in stream at line 7,
column 0, byte index 277: not well-formed (invalid token)<br>
<br>
ERROR: In
/home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XML/vtkXMLReader.cxx,
line 444<br>
vtkXMLStructuredGridReader (0x54c2e60): Error parsing input file.
ReadXMLInformation aborting.<br>
<br>
ERROR: In
/home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx,
line 783<br>
vtkPVCompositeDataPipeline (0x54c82d0): Algorithm
vtkXMLStructuredGridReader(0x54c2e60) returned failure for request:
vtkInformation (0x54daea0)<br>
Debug: Off<br>
Modified Time: 154273<br>
Reference Count: 1<br>
Registered Events: (none)<br>
Request: REQUEST_INFORMATION<br>
FORWARD_DIRECTION: 0<br>
ALGORITHM_AFTER_FORWARD: 1<br>
<br>
<br>
I can't figure out where the problem is. Searching in the Internet
also didn't give me a clue. What am I doing wrong?<br>
<br>
I use ParaView 4.2.0 64-bit on Linux Mint.<br>
<br>
Thank you,<br>
Mikhail<br>
<br>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>