lemminx icon indicating copy to clipboard operation
lemminx copied to clipboard

`PrematureEOF` caused by an empty referenced XSD is not aggregated to the schema reference

Open datho7561 opened this issue 4 years ago • 0 comments

Example to reproduce:

instance.xml

<root
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://namespace"
  xsi:schemaLocation="http://namespace schema.xsd">
  <a></a>
</root>

schema.xsd: exists, but is empty

Outcome: Screenshot from 2021-04-12 17-01-28

Expected: Error range should be the path to the schema file.

datho7561 avatar Apr 12 '21 21:04 datho7561