X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2dfe6f3f2e911101f4e4e3b90a00e2ae97725d04..1633059dbbc61bfe04ef7d39709e3e7a84687043:/lib/gpx.rb diff --git a/lib/gpx.rb b/lib/gpx.rb index 3e1cb9afa..1bf7764ec 100644 --- a/lib/gpx.rb +++ b/lib/gpx.rb @@ -57,7 +57,7 @@ module GPX when "application/x-bzip" then io = Bzip2::FFI::Reader.open(@file) end - parse_file(XML::Reader.io(io), &block) + parse_file(XML::Reader.io(io, :options => XML::Parser::Options::NOERROR), &block) end end