Skip to content

Improve error info #15

Description

@Deijin27

The parse error messages could give better context information.

Currently they just do "unexpected 's' at line 2 col 3.

That could be improved with things like:

  • Was expecting '<' to start document node
  • '&' must be followed by a valid escape character name such as 'amp'
  • Expected the opening tag of attribute value following attribute name 'name'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions