declare function foo() {
<foo><bar><baz></baz></baz></bar></foo>
};
The </ in </foo> gets flagged as an error, but only because the plugin is assuming the XML is not closed. For more complex XML, this would make it harder to track down where the actual error is (in this case the duplicated closing baz tag).
Given:
The
</
in</foo>
gets flagged as an error, but only because the plugin is assuming the XML is not closed. For more complex XML, this would make it harder to track down where the actual error is (in this case the duplicated closingbaz
tag).It would be nice to have an error message like: