Suppress writing xml parse errors to stderr

This commit is contained in:
Anton Khorev 2024-09-20 16:33:20 +03:00
parent 578a3aebaf
commit f2e302c6a8

View 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