OpenMS
XMLValidator

Validates XML files against an XSD schema.

When a schema file is given, the input file is simply validated against the schema.

When no schema file is given, the tool tries to determine the file type and validates the file against the latest schema version.

Note
XML schema files for the OpenMS XML formats and several other XML formats can be found in the folder OpenMS/share/OpenMS/SCHEMAS/

The command line parameters of this tool are:

XMLValidator -- Validates XML files against an XSD schema.
Full documentation: http://www.openms.de/doxygen/release/3.0.0/html/UTILS_XMLValidator.html
Version: 3.0.0 Jul 14 2023, 11:57:33, Revision: be787e9
To cite OpenMS:
 + Rost HL, Sachsenberg T, Aiche S, Bielow C et al.. OpenMS: a flexible open-source software platform for 
   mass spectrometry data analysis. Nat Meth. 2016; 13, 9: 741-748. doi:10.1038/nmeth.3959.

Usage:
  XMLValidator <options>

Options (mandatory options marked with '*'):
  -in <file>*        File to validate (valid formats: 'mzML', 'mzData', 'featureXML', 'mzid', 'idXML', 'conse
                     nsusXML', 'mzXML', 'ini', 'pepXML', 'traML', 'xml')
  -schema <file>     Schema to validate against.
                     If no schema is given, the file is validated against the latest schema of the file type.
                      (valid formats: 'xsd')
                     
Common UTIL options:
  -ini <file>        Use the given TOPP INI file
  -threads <n>       Sets the number of threads allowed to be used by the TOPP tool (default: '1')
  -write_ini <file>  Writes the default configuration file
  --help             Shows options
  --helphelp         Shows all options (including advanced)

INI file documentation of this tool:

Legend:
required parameter
advanced parameter
+XMLValidatorValidates XML files against an XSD schema.
version3.0.0 Version of the tool that generated this parameters file.
++1Instance '1' section for 'XMLValidator'
in file to validateinput file*.mzML, *.mzData, *.featureXML, *.mzid, *.idXML, *.consensusXML, *.mzXML, *.ini, *.pepXML, *.traML, *.xml
schema schema to validate against.
If no schema is given, the file is validated against the latest schema of the file type.
input file*.xsd
log Name of log file (created only when specified)
debug0 Sets the debug level
threads1 Sets the number of threads allowed to be used by the TOPP tool
no_progressfalse Disables progress logging to command linetrue, false
forcefalse Overrides tool-specific checkstrue, false
testfalse Enables the test mode (needed for internal use only)true, false