We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently when there's a parser error, the location of the error is appended as a string to the error message.
Error: Unexpected close tag Line: 0 Column: 17 Char: >
It would be useful to provide the location as a set of properties on the object.
{ line: 0, column: 17, char: '>' }
Use cases:
Better error reporting. Allow the possibility of excerpting the XML input to show the location of the error.
parser.onerror = function(error) { console.error('Parsing error at location: ' + error.line + ':' + error.column) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently when there's a parser error, the location of the error is appended as a string to the error message.
It would be useful to provide the location as a set of properties on the object.
Use cases:
Better error reporting. Allow the possibility of excerpting the XML input to show the location of the error.
The text was updated successfully, but these errors were encountered: