It is a simple tool for validating xml files and printing a full list of errors, a list of grouped errors.
Clone the source locally:
$ git clone https://github.com/MorkovkAs/xsd-validator/
- Build, install.
- Or use current .jar file in
out/artifacts/xsd_validator_jar/xsd-validator.jar
Required
Type: String
Absolute path to xsd scheme
Required
Type: String
Absolute path to validated xml file or package of files
Type: Boolean
Default: true
Flag to enable logging of all errors for each file
Type: Boolean
Default: false
Flag to enable copying valid files to valid
directory
java -jar xsd-validator.jar path_to_xsd path_to_xml_files
java -jar xsd-validator.jar path_to_xsd path_to_xml_files false
java -jar xsd-validator.jar path_to_xsd path_to_xml_files false true
Any questions or problem give me a shout on email avklimakov@gmail.com
Copyright 2020 Anton Klimakov
Licensed under the Apache License, Version 2.0