Latitude and longitude are not parsed if excess whitespace exists in the element data #33

rmccue opened this Issue Sep 29, 2009 · 1 comment


None yet
1 participant

rmccue commented Sep 29, 2009

Originally reported by Ryan McCue as issue 138

If there is leading or trailing whitespace inside the georss:point element, the latitude and longitude are parsed incorrectly.

Google Maps does this in their feeds, e.g.

There are two solutions to this: either remove the ^ and $ boundaries in the regular expressions to match this, or run trim() on the data before matching.



rmccue commented Sep 29, 2009

Trim whitespace from georss:point before parsing. Closed by 1df5d92

This issue was closed.

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