From b64fc35140674d868f9e66a748b663877d3fd285 Mon Sep 17 00:00:00 2001 From: Frederik Ramm Date: Sun, 9 Nov 2008 11:30:03 +0000 Subject: [PATCH] make diff upload result a "diffResult" rather than "osm" document --- lib/diff_reader.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/diff_reader.rb b/lib/diff_reader.rb index f7c51d797..6a053e4ad 100644 --- a/lib/diff_reader.rb +++ b/lib/diff_reader.rb @@ -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 element (although we # don't actually check this...) -- 2.43.2