aerhard / linter-autocomplete-jing

Jing-based autocomplete and validation of XML documents in Atom
https://atom.io/packages/linter-autocomplete-jing
MIT License
19 stars 3 forks source link

Linter show wrong line number #52

Closed pabian84 closed 5 years ago

pabian84 commented 6 years ago

k-20180103-491295

Wrong line is 4. But message is Line 1:1. How fix it?

aerhard commented 5 years ago

This is fixed in the current version. The error gets assigned to line 6 instead of line 4 though, since it's only certain at the parent element's end tag </elements> that <element> in line 4 is neither self-closing nor has a corresponding end tag </element>.