-
Notifications
You must be signed in to change notification settings - Fork 93
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
Fix error range for cvc-datatype-valid-1-2-1
#323
Comments
@NikolasKomonen could you please add a simple xml schema and simple xml in this issue to reproduce quickly your issue. It will help too when tests will be written. Thanks! |
@xorye do you think you could work on this issue for 0.8.0? Otherwise we will change the millestone. |
@angelozerr working on this now |
@angelozerr @NikolasKomonen If there is only whitespace and newlines, is it okay if the error range looks like this? |
compare with eclipse/idea |
cvc_datatype_valid_1_2_1
when no content.
yeah keep as-is |
cvc_datatype_valid_1_2_1
when no content.cvc-datatype-valid-1-2-1
If only integers are allowed as content and you have:
with XSD:
The highlight could be cleaned up to the first and last character of text here:
And in the case a user puts in a tag the highlight, error message should be adjusted to include the first tag it comes across:
The text was updated successfully, but these errors were encountered: