-
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
XML validation should aggregate XSD errors where is referenced #768
Comments
angelozerr
changed the title
Incorrect error range for EmptyTargetNamespace
XML validation should aggregate XSD errors where is referenced
Oct 13, 2020
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 13, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 13, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 15, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 20, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 20, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 21, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 21, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 22, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Oct 23, 2020
Fixes eclipse-lemminx#768 Signed-off-by: azerr <azerr@redhat.com>
datho7561
pushed a commit
that referenced
this issue
Oct 23, 2020
Fixes #768 Signed-off-by: azerr <azerr@redhat.com>
Thanks so much @datho7561 for your great review! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error range for EmptyTargetNamespace for an .xml file that references an .xsd file with an empty target namespace is incorrect. Here is the current error range, with the warning label placed on the
model
of<?xml-model...
:To reproduce, the
xmlns
attribute of the root element needs to be set to a non-empty value.Here is some sample code to reproduce:
twoLetterName.xsd
:twoLetterNameInstance.xml
:The range should instead highlight the reference to the .xsd schema file. This is because the schema file is what is causing this issue. For instance, in this case,
href="twoLetterName.xsd"
should be highlighted.The text was updated successfully, but these errors were encountered: