Rewrite gpx::consume cleaner and more strict - Do not accept arbitrary amounts of opening gpx tags, we require exactly   one at the beginning and do not allow further ones - Do not accept any closing tag as tag that closes gpx, require name==gpx - Use new custom errors InvalidClosingTag and MissingClosingTag - Avoid indirection of ParseEvents, handle XmlEvents more directly
Rewrite gpx::consume cleaner and more strict
- Do not accept arbitrary amounts of opening gpx tags, we require exactly
  one at the beginning and do not allow further ones
- Do not accept any closing tag as tag that closes gpx, require name==gpx
- Use new custom errors InvalidClosingTag and MissingClosingTag
- Avoid indirection of ParseEvents, handle XmlEvents more directly

georust/rust-gpx