On Fri, Jun 10, 2016 at 9:21 AM, 张江 <zhangjiang.d...@gmail.com> wrote:

> Hi,
>
> I am trying to load vtk files using libmesh. But there is always error that
>
> ERROR: In /Users/xxx/VTK-7.0.0/IO/XMLParser/vtkXMLParser.cxx, line 397
> vtkXMLDataParser (0x7f9341c16140): Error parsing XML in stream at line 1,
> column 1, byte index 1: not well-formed (invalid token)
>
> ERROR: In /Users/xxx/VTK-7.0.0/IO/XML/vtkXMLReader.cxx, line 456
> vtkXMLUnstructuredGridReader (0x7f9341f00000): Error parsing input file.
> ReadXMLInformation aborting.
>
> ERROR: In /Users/xxx/VTK-7.0.0/Common/ExecutionModel/vtkExecutive.cxx,
> line 784
> vtkCompositeDataPipeline (0x7f9341c14a70): Algorithm
> vtkXMLUnstructuredGridReader(0x7f9341f00000) returned failure for request:
> vtkInformation (0x7f9341e0a2e0)
>
> What’s the problem? Can anyone give an example showing how to read vtk
> file? Thanks.
>

Hmm... I haven't seen this error before, but it looks like an ill-formed
XML file.

How did you create the VTK file you are trying to read?  Libmesh uses
the vtkXMLUnstructuredGridReader class to read the file... it most likely
won't work if the file is not in this format.

-- 
John
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to