The IRIS stationxml-validator is a Java library and related command-line utility for validating FDSN-StationXML documents against a set of rules.
For more information please refer to the project Wiki:
https://github.com/iris-edu/StationXML-Validator/wiki
or the project's help page.