Error line out of listing

In XMIR, the line number inside <error/> cannot exceed the total number of lines in the listing.

Incorrect:

<object>
  <listing>first line
    second line
    third line</listing>
  <errors>
    <error check="abc" line="500" severity="warning">hello</error>
  </errors>
</object>

Correct:

<object>
  <listing>first line
    second line
    third line</listing>
  <errors>
    <error check="abc" line="3" severity="warning">hello</error>
  </errors>
</object>

Published on Fri Sep 12 07:14:00 UTC 2025.