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

Wrong range for xml(SchemaLocation) #343

Closed
fbricon opened this issue Apr 3, 2019 · 0 comments
Closed

Wrong range for xml(SchemaLocation) #343

fbricon opened this issue Apr 3, 2019 · 0 comments
Labels
bug Something isn't working validation XSD
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Apr 3, 2019

Given

<invoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="invoice.xsd" > </invoice>

schemaLocation is used here instead of noNamespaceSchemaLocation, which yields a warning: "... must have even number of URI's" (shouldn't it be an error?). The wrong range is being sent, it should underline the schemaLocation attribute (or value?)

Screen Shot 2019-04-03 at 4 43 40 PM

@fbricon fbricon added bug Something isn't working validation XSD labels Apr 3, 2019
@NikolasKomonen NikolasKomonen added this to the v0.6.0 milestone Apr 18, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 26, 2019
…t duplicates

Fixes eclipse-lemminx#336, eclipse-lemminx#343

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue May 6, 2019
…t duplicates

Fixes eclipse-lemminx#336, eclipse-lemminx#343

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
fbricon pushed a commit that referenced this issue May 6, 2019
…t duplicates (#361)

Fixes #336, #343

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validation XSD
Projects
None yet
Development

No branches or pull requests

2 participants