Hello.

Here is a minor problem with Text sources in PV 3.10.0-RC1. When adding a Text source in the 3D view with the "degree" symbol "°" (SHIFT right parenthesis on the french keyboard) and saving the pvsm state file, the state file becomes unreadable. Following is the error message:

ERROR: In /home/kitware/Kitware/ParaView-3.10/source/VTK/IO/vtkXMLParser.cxx, line 483

vtkPVXMLParser (0x170ad620): Error parsing XML in stream at line 16051, column 58, byte index 749627: not well-formed (invalid token)

Root does not exist. Either state file could not be opened or it does not contain valid xml

Here is a part of the saved pvsm file about the Text source:
    <Proxy group="sources" type="TextSource" id="4875" servers="1">
      <Property name="Text" id="4875.Text" number_of_elements="1">
        <Element index="0" value="Plan x = 30 - Angle = 15°"/>
      </Property>
    </Proxy>
Removing the "°" symbol following "15" makes the file readable.
Other special characters (letters with accents such as é or è ) don't have such a problem.

Regards.

--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:[email protected]
http://www.onera.fr

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to