Skip to content
New issue

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

report information from input when generating an error #22

Open
ymark opened this issue Dec 9, 2015 · 2 comments
Open

report information from input when generating an error #22

ymark opened this issue Dec 9, 2015 · 2 comments

Comments

@ymark
Copy link
Collaborator

ymark commented Dec 9, 2015

When an error is occurred (e.g. an element is missing), try to report something from the input to assist users easily and quickly locating the issue

@isl isl added the enhancement label Dec 9, 2015
@ymark
Copy link
Collaborator Author

ymark commented Dec 9, 2015

possible solutions (to be investigated) are:

  • line of the input file (what happens if an element is missing)
  • description of the parent element (either line or xpath position)
  • generated value of the corresponding issues (might work in some cases)

@ymark
Copy link
Collaborator Author

ymark commented Dec 11, 2015

As regards this one we can follow the approach described here http://stackoverflow.com/questions/4915422/get-line-number-from-xml-node-java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants