Suppress XML parsing errors.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 26 Oct 2016 09:35:03 +0000 (10:35 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 26 Oct 2016 09:35:03 +0000 (10:35 +0100)
commitf464e2a6e9679636d6ae8dbe7b3448cc4cab334d
tree02d88c2fd1a2d34dc2065346496fc18f1cb817f6
parent7725cd59b41a622a634a447d33fbda738a472748
Suppress XML parsing errors.

This technique was already used in app/models/changeset.rb

This suppresses the error messages when parsing invalid XML, but
the exceptions are still raised, as tested in test_from_xml_double_lat
in test/models/node_test.rb
app/controllers/changeset_controller.rb
app/controllers/user_preference_controller.rb
app/models/node.rb
app/models/relation.rb
app/models/trace.rb
app/models/way.rb