[OSM-dev] Code works on sandbox API, doesn't work on main API

Peter Körner osm-lists at mazdermind.de
Wed Dec 2 08:44:34 GMT 2009


> <osm>
>     <changeset>
>         <tag k="created_by" v="Romanian Settlement Boundaries v0.1"/>
>         <tag k="comment" v="Boundaries for Bicaz / Source: Mircea 
> Angelescu (cultura.ro <http://cultura.ro>)"/>
>     </changeset>
> </osm>

A changeset-put of josm looks like this:

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
   <changeset  id='0' open='false'>
     <tag k='created_by' v='JOSM/1.5 (2300 de)' />
     <tag k='comment' v='Kastell' />
   </changeset>
</osm>



So there are the <?xml ?> and some tags missing in your xml. I analyzed 
this with the Paros Proxy tool, a monitoring local HTTP Proxy.

Peter




More information about the dev mailing list