lemminx
lemminx copied to clipboard
`PrematureEOF` caused by an empty referenced XSD is not aggregated to the schema reference
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:

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