Suppress writing xml parse errors to stderr
This commit is contained in:
parent
578a3aebaf
commit
f2e302c6a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue