Skip to content

XML is whitespace sensitive in some grammar productions.  #233

@bd82

Description

@bd82

Apparently whitespace cannot be freely used everywhere, examples:

So @xml-tools/parser is not exposing the correct syntax errors in this case.
But on the other hand this parser is fault tolerant and should be able to handle small syntax errors
such as these transparently.

The solution would likely be to manually perform checks for redundant during parsing.
and save a custom syntax error message if such WS was encountered.
These syntax errors should not affect the regular parsing flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions