Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid <groundspeak:attribute> entries in GPX files #39

Closed
GoogleCodeExporter opened this issue Jul 22, 2015 · 3 comments
Closed

Invalid <groundspeak:attribute> entries in GPX files #39

GoogleCodeExporter opened this issue Jul 22, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Hello there!

I just noticed a problem with invalid (empty) groundspeak:attribute elements in 
the GPX files generated by OC.pl.
The problem is quite common and it appears in almost every cache I checked.
Invalid elements look something like (OP7B37):

    <groundspeak:attributes>
      <groundspeak:attribute id="53" inc="1">One-minute cache</groundspeak:attribute>
      <groundspeak:attribute id="" inc="1"></groundspeak:attribute>
      <groundspeak:attribute id="" inc="1"></groundspeak:attribute>
      <groundspeak:attribute id="24" inc="1">Wheelchair accessible</groundspeak:attribute>
      <groundspeak:attribute id="" inc="1"></groundspeak:attribute>
      <groundspeak:attribute id="32" inc="1">Bikes allowed</groundspeak:attribute>
    </groundspeak:attributes>


What steps will reproduce the problem?

1. Visit http://opencaching.pl/viewcache.php?cacheid=31548

2. Download GPX file using "GPX" link in the "Pobierz dane" section. The link 
looks like:

http://opencaching.pl/search.php?searchto=searchbycacheid&showresult=1&f_inactiv
e=0&f_ignored=0&f_userfound=0&f_userowner=0&f_watched=0&startat=0&cacheid=31548&
output=gpxgc

3. Downloaded file contains invalid attributes as above

What is the expected output? What do you see instead?

Empty attribute elements (the ones with empty id) should be eliminated.


Original issue reported on code.google.com by jbaczyn...@gmail.com on 14 Feb 2014 at 11:55

@GoogleCodeExporter
Copy link
Author

I will look in to it this weekend.

Original comment by henricus...@gmail.com on 14 Feb 2014 at 10:16

@GoogleCodeExporter
Copy link
Author

Original comment by henricus...@gmail.com on 15 Mar 2014 at 3:58

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r5931.

Original comment by boguslaw...@gmail.com on 31 Mar 2014 at 7:42

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant