lemminx
lemminx copied to clipboard
Error range for src-annotation `src-annotation`
Given this XSD file:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="root-element">
<xs:annotation>
<xs:appInfo>
</xs:appInfo>
</xs:annotation>
</xs:element>
</xs:schema>
``
xs:appInfo report an error because it should be xs:appinfo, the error range should higlight the xs:appInfo. We could provide too code action with similar values and REPLACE with xs:appinfo.
See https://github.com/eclipse-pde/eclipse.pde/issues/294
you should write app:info instead of app:Info.