GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Single Double quote in name  XML
Forum Index -> General
Author Message

Joined: 19/02/2021 09:39:42
Messages: 1

one of our programmers was busy trying to process some of the Geonames data and came across a problem processing names with a single 'double quote' (") in it (f.e. here [])

Apparently, if the name contains 2 'double quotes', the code can process the data without any problem.

Question: Could it be that the represented name should not have that double quote in it and so the data should be cleaned up of all such occurrences? Or should there be a second double qoute in the name? Or do we, in our own code, have to take into account that such data can occur?

Thx for your advice.

Joined: 01/07/2018 00:43:15
Messages: 8
Location: Seattle, WA, USA

Hi Pascal - I agree that the one dbl-quote is a problem. The editor won't even render it in the name, which is telling. I looked at the other "Haute Ecole" entries in Belgium and saw some with a pair of dbl quotes, and so changed those two from the search string you posted to match that format.
The query that generated errors should run fine now!

Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team