[Gpsbabel-code] Software problem report - GPX format
Brought to you by:
robertl
From: Hans-Georg M. <han...@mi...> - 2010-08-28 04:52:43
|
First of all, many thanks for providing GPSBabel, which, I think, is an excellent and badly needed program. This software problem report is a small contribution to the effort and shows my appreciation. ----- Problem and solution ----- When translating to GPX format, in my case from GDB to GPX, GPSBabel creates XML elements like <name>somename</name>. It fails to make sure that the result is XML. For example, if the name is: Xyz <hello> then GPSBabel generates: <name>Xyz <hello></name> which is not XML. The only solution, and a simple one too, is to generate this instead: <name><![CDATA[Xyz <hello>]]></name> This is XML and is the correct solution. It does not hurt either when the name is already plain text that does not spoil the XML. The CDATA entity can always be generated. Greetings---Hans-Georg Michna |