]> git.openstreetmap.org Git - rails.git/blobdiff - lib/gpx.rb
Use teaspoon to run javascript tests
[rails.git] / lib / gpx.rb
index 3e1cb9afa6d9cf6da4ca51d80255576c3f25f309..1bf7764ec5e3052f878c394f4ae75f9e1c9e879c 100644 (file)
@@ -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