<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi,</div>
<div>&nbsp;</div>
<div>I want to write a VTK xml file for a time collection. So far, I have used the following syntax, as found in this document:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&lt;VTKFile type=&quot;Collection&quot; version=&quot;0.1&quot; byte_order=&quot;LittleEndian&quot;&gt;&lt;Collection&gt;</div>
<div> &lt;DataSet timestep=&quot;&nbsp;&nbsp; 0.200E&#43;00&quot; group=&quot;&quot; part=&quot;0&quot; file=&quot;./step_1.vtu&quot;/&gt;</div>
<div> &lt;DataSet timestep=&quot;&nbsp;&nbsp; 0.400E&#43;00&quot; group=&quot;&quot; part=&quot;0&quot; file=&quot;./step_2.vtu&quot;/&gt;</div>
<div>&nbsp; &lt;/Collection&gt;&lt;/VTKFile&gt;</div>
<div>&nbsp;</div>
<div>This works well for binary vtu files. Now I want to use ASCII vtr files. With the syntax shown above, Paraview (3.12.0-RC2) throws me the following errors:</div>
<div>&nbsp;</div>
<div>snip -------------------------------------------------------</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\IO\vtkXMLParser.cxx, line 483</div>
<div>vtkXMLDataParser (10FD4B80): Error parsing XML in stream at line 1, column 1, byte index 1: not well-formed (invalid token)</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\IO\vtkXMLReader.cxx, line 362</div>
<div>vtkXMLRectilinearGridReader (1118D898): Error parsing input file.&nbsp; ReadXMLInformation aborting.</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\Filtering\vtkExecutive.cxx, line 756</div>
<div>vtkCompositeDataPipeline (10D5BF48): Algorithm vtkXMLRectilinearGridReader(1118D898) returned failure for request: vtkInformation (11186FD0)</div>
<div>&nbsp; Debug: Off</div>
<div>&nbsp; Modified Time: 79093</div>
<div>&nbsp; Reference Count: 1</div>
<div>&nbsp; Registered Events: (none)</div>
<div>&nbsp; Request: REQUEST_INFORMATION</div>
<div>&nbsp; FORWARD_DIRECTION: 0</div>
<div>&nbsp; ALGORITHM_AFTER_FORWARD: 1</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\IO\vtkXMLParser.cxx, line 483</div>
<div>vtkXMLDataParser (1119A038): Error parsing XML in stream at line 1, column 1, byte index 1: not well-formed (invalid token)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\IO\vtkXMLReader.cxx, line 362</div>
<div>vtkXMLRectilinearGridReader (111F5180): Error parsing input file.&nbsp; ReadXMLInformation aborting.</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\Filtering\vtkExecutive.cxx, line 756</div>
<div>vtkCompositeDataPipeline (1109B840): Algorithm vtkXMLRectilinearGridReader(111F5180) returned failure for request: vtkInformation (111F0F18)</div>
<div>&nbsp; Debug: Off</div>
<div>&nbsp; Modified Time: 134363</div>
<div>&nbsp; Reference Count: 1</div>
<div>&nbsp; Registered Events: (none)</div>
<div>&nbsp; Request: REQUEST_INFORMATION</div>
<div>&nbsp; FORWARD_DIRECTION: 0</div>
<div>&nbsp; ALGORITHM_AFTER_FORWARD: 1</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\IO\vtkXMLParser.cxx, line 483</div>
<div>vtkXMLDataParser (13E849D0): Error parsing XML in stream at line 1, column 1, byte index 1: not well-formed (invalid token)</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\IO\vtkXMLReader.cxx, line 362</div>
<div>vtkXMLRectilinearGridReader (13E8D8D8): Error parsing input file.&nbsp; ReadXMLInformation aborting.</div>
<div>&nbsp;</div>
<div>ERROR: In ..\..\..\..\source\VTK\Filtering\vtkExecutive.cxx, line 756</div>
<div>vtkCompositeDataPipeline (0FDA54B0): Algorithm vtkXMLRectilinearGridReader(13E8D8D8) returned failure for request: vtkInformation (13E85830)</div>
<div>&nbsp; Debug: Off</div>
<div>&nbsp; Modified Time: 189309</div>
<div>&nbsp; Reference Count: 1</div>
<div>&nbsp; Registered Events: (none)</div>
<div>&nbsp; Request: REQUEST_INFORMATION</div>
<div>&nbsp; FORWARD_DIRECTION: 0</div>
<div>&nbsp; ALGORITHM_AFTER_FORWARD: 1</div>
<div>&nbsp;</div>
<div>snap -------------------------------------------</div>
<div>&nbsp;</div>
<div>Opening the vtr files directly works without problems (except that ParaView doesn&#8217;t seem to recognize the extension .vtr by itself, I have to manually specify &#8220;Legacy vtk&#8221; as input format).</div>
<div>&nbsp;</div>
<div>Questions: </div>
<div>&nbsp;</div>
<ol style="margin:0;padding-left:36pt;">
<li>What do I have to change in the pvd file syntax?</li><li>Is there a vtk syntax reference where I can learn more about the vtk collections?</li></ol>
<div>&nbsp;</div>
<div>Thank you,</div>
<div>&nbsp;</div>
<div>Matthias</div>
<div>&nbsp;</div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"><br>

<br>

_____________________________________________________________________<br>

ERBE Elektromedizin GmbH<br>

Firmensitz: 72072 Tuebingen<br>

Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>

Registergericht: Stuttgart HRB 380137<br>

<br>

</span></font></div>
</span></font>
</body>
</html>