[Paraview] 3.10.0-RC1: state file unreadeable when a Text source contains the degree symbol

Richard GRENON richard.grenon at onera.fr
Tue Feb 8 11:20:06 EST 2011


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:Richard.Grenon at onera.fr
 http://www.onera.fr



More information about the ParaView mailing list