make diff upload result a "diffResult" rather than "osm" document

This commit is contained in:
Frederik Ramm 2008-11-09 11:30:03 +00:00
parent ebbc770cbf
commit b64fc35140

View file

@ -79,6 +79,7 @@ class DiffReader
ids = { :node => node_ids, :way => way_ids, :relation => rel_ids}
result = OSM::API.new.get_xml_doc
result.root.name = "diffResult"
# loop at the top level, within the <osmChange> element (although we
# don't actually check this...)