[OSM-dev] BUG: unescaped & in osm xml files

Matt Amos zerebubuth at gmail.com
Mon Nov 10 15:49:37 GMT 2008


On Mon, Nov 10, 2008 at 3:30 PM, Rene Wunderlich
<rene.wunderlich at milaro.net> wrote:
> i found follow XML bug in the osm xml files
>
> <way id="10605947" user="David & Christine Schmitt"
> timestamp="2008-07-14T21:31:30Z">
>
> the & is not escaped to & at Tileset (12,2234,1419) around 48.25,16.39

how are you downloading this file? i found that the following URLs
gave properly-escaped results:

http://www.openstreetmap.org/api/0.5/way/10605947
http://api.openstreetmap.org/api/0.5/map?bbox=16.35103,48.21466,16.35432,48.21705

in both the user string is "David & Christine Schmitt". is it
possible something in your download process is already unescaping the
attributes?

cheers,

matt




More information about the dev mailing list