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'
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: