Inkscape crashes with certain characters in a text string with Inkscape

Bug #206944 reported by khovorka on 2008-03-26
Affects Status Importance Assigned to Milestone

Bug Description

I am creating a svg file from text that is in a text file and the information
is valid in that you can type any visible character or diacritcal character for UTF-8 in the text for international language support as well. I have encountered problems also when a > or < or & is the text string. This indicates to me that you there a parsing problems with Inkscape on the XML file. I consider this a major problem that could render inkscape unusable.
I hope that this could be looked in to asap and that a fix is possible as I would hate to have to go away from using the SVG file format for my work.
Thank you for you attention to what I feel is a significant issue.

khovorka (kimhovorka) wrote :
bbyak (buliabyak) wrote :

sorry but your file is not well-formed - any xml parser will reject it, not only inkscape

please see the xml standard for how to encode special characters in xml

Changed in inkscape:
status: New → Invalid
Jon A. Cruz (jon-joncruz) wrote :

FireFox gives this info
XML Parsing Error: not well-formed
Line Number 11, Column 148:

A hexdump shows
00000690 64 22 3e 52 65 6e e9 65 20 4d 61 78 69 6e 65 20 |d">Ren.e Maxine |

The byte $e9 is not part of a valid UTF-8 sequence there. It probably means the file is in CodePage-1252 even though you have the header listed as UTF-8. Thus it is an invalid XML file.

Additionally the characters '<', '>', and '&' are required to be escaped to be placed in XML text. If they are not, then it is not a valid XML file.

Using FireFox to view your .svg files would probably be a quick way to check the validity of their XML and contents. MSIE can also be used, but may require you to change the extension to ".xml"

Changed in inkscape:
importance: Undecided → Low
A.K.Karthikeyan (mindaslab) wrote :

I tried to create a PDF of my SVG drawing and my inkscape crashed, it was because I used a Tamil character called ak ( spell as huck). I don't think you cansee it : ஃ

Is there any solution to it?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers