Skip to content

Route parsing fails on empty name tag. #114

Description

@dvanherbergen

In route.rs, the name of the route is marked with allow_empty false.
This cause file parsing of routes with an empty tag to fail.
According to the GPX spec, name is optional and there's no minimum length specified making it nullable, so shouldn't allow_empty be set to true?

route.name = Some(string::consume(context, "name", false)?);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions