[OSM-dev] control characters in planet.osm

Frederik Ramm frederik at remote.org
Fri Jul 13 10:10:02 BST 2007


Hi,

> It seems like this character should never have been entered in  
> Potlatch
> anyway.  I haven't tried it yet but what does Ctrl-S do if you're
> entering data in Potlatch?  Perhaps people are trying to save by
> pressing the Ctrl-S key combination?

I am not sure about this but remember that XML is just the transport  
format we're using. Tags and their values are NOT stored in XML form  
in the database. It is perfectly possible that Potlatch has accepted  
the ^S input and sent it to the server  using *correct* XML (i.e.  
properly escaped), where the XML was then parsed and the ^S stored as- 
is in the database (of course database fields are binary safe, any  
character is allowed there), and only the planet exporter forgot to  
escape that character when it generated the export!

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'






More information about the dev mailing list