Currently the order of the messages output from xmlstarlet val is not consistent. Please ensure the order is always the same.
This is important for unit tests, as they may expect the output in a specific order.
Steps to reproduce:
a.xml with an tag <unknown_tag/>.b.xsd that does not define the unknown_tag.xmlstarlet validate --xsd b.xsd --err a.xml many times (e.g. 20 times).Expected results:
a.xml:2.13: Element 'unknown_tag': No matching global declaration available for the validation root.
a.xml - invalid
Actual results:
a.xml - invalid
a.xml:2.13: Element 'unknown_tag': No matching global declaration available for the validation root.