]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
return a blank 0.4 osm xml doc when on data found
[rails.git] / app / controllers / api_controller.rb
index 35a0f25b75a2332308b3c1856aef2e3d72e03aa4..f61c67d6e548c4ff438ad376aae820af4ef7768d 100644 (file)
@@ -155,7 +155,7 @@ class ApiController < ApplicationController
     end
 
     if node_ids.length == 0
-      render :text => '<osm></osm>'
+      render :text => "<osm version='0.4'></osm>"
       return
     end