#18 Waypoint Name will not accept apostrophes

open-fixed
None
5
2008-02-22
2008-01-01
Anonymous
No

I entered a cache name of S'COOL Cache which worked fine. When I tried to enter the same as a Waypoint name, I received the below exception:

Could not Add waypoint

'gpx:gpx/gpx:wpt[gpx:name='S'Cool Cache']' has an invalid token

I'm unsure if it is unreasonable to have a waypoint name with an apostrophe. Just wanted you to know about it.

Tim
toneil100@hotmail.com

Discussion

  • Brian Erickson

    Brian Erickson - 2008-02-07

    Logged In: YES
    user_id=266571
    Originator: NO

    I needed to escape the waypoint name for an xpath query. Code changed and checked in. Should be in the next release.

     
  • Brian Erickson

    Brian Erickson - 2008-02-07
    • assigned_to: nobody --> brianerickson
    • status: open --> pending-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • Brian Erickson

    Brian Erickson - 2008-02-22
    • status: closed-fixed --> open-fixed
     

Log in to post a comment.