imamabdul / gpslogger

Automatically exported from code.google.com/p/gpslogger
0 stars 0 forks source link

Entities nor properly escaped in GPX output <desc> and <name> element text #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

  1. menu -> Annotate

  2. Enter something with an &

What is the expected output?

  ...<name>foo &amp; bar</name><desc>foo &amp; bar</desc>...

What do you see instead?

  ...<name>foo & bar</name><desc>foo & bar</desc>...

What version of the product are you using? On what operating system?

  v1.0.3
  Android 1.5 (HTC Hero customised for UK Orange)

Please provide any additional information below.

  I suspect this is a general problem with XML special chars, not just
ampersands. I know, I'm warned to use only letters and numbers in the
annotation dialog, but it's easy to forget and for mapping I need to be
able to make _verbatim_ records of what I see (signposts, for example).
Blaming the user is a Bad Thing :)

Original issue reported on code.google.com by a.t.chadwick on 14 Mar 2010 at 10:07

GoogleCodeExporter commented 8 years ago
Er, sorry. Wrong "gpslogger" project... the one I intended to report against is
http://gpslogger.codeplex.com/

Feel free to ignore this one.

Original comment by a.t.chadwick on 14 Mar 2010 at 10:13