Merge 12304:14009 from trunk.

This commit is contained in:
Tom Hughes 2009-03-08 13:02:37 +00:00
commit c8ee135104
36 changed files with 174 additions and 130 deletions

View file

@ -27,8 +27,7 @@ class Relation < ActiveRecord::Base
def self.from_xml(xml, create=false)
begin
p = XML::Parser.new
p.string = xml
p = XML::Parser.string(xml)
doc = p.parse
doc.find('//osm/relation').each do |pt|