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

Fix error range for p-props-correct.2.1 #440

Merged
merged 1 commit into from
Jun 14, 2019
Merged

Fix error range for p-props-correct.2.1 #440

merged 1 commit into from
Jun 14, 2019

Conversation

xorye
Copy link

@xorye xorye commented Jun 14, 2019

Fixes #436

image

There were three arguments provided by xerces:
arguments[0] = "element" (from <xs:element)
arguments[1] = XInt(1) (value of minOccurs)
arguments[2] = XInt(0) (value of maxOccurs)

The location given by xerces is the location of the element with the error.

Signed-off-by: David Kwon [email protected]

@angelozerr angelozerr merged commit 20819b3 into eclipse:master Jun 14, 2019
@angelozerr
Copy link
Contributor

I love this kind of PR which is easy to test, the explanation is very good and commit comment is perfect. Thank's @xorye !

datho7561 added a commit to datho7561/lemminx that referenced this pull request Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fixed error range for p-props-correct.2.1
3 participants