View on GitHub

Xml-linter

Validate any kind of XML file, can accept an XSD definition file

Download this project as a .zip file Download this project as a tar.gz file

xml-linter

Lint any kind of XML file, can accept an XSD definition file.

xml-linter

Install

Available here and on packagist

Usage

xml-linter-use

Some tests are available (requires dev dependencies):

# Invalid file
$ ./xml-linter ./vendor/symfony/translation/Tests/fixtures/invalid-xml-resources.xlf

# Valid file
$ ./xml-linter ./vendor/symfony/translation/Tests/fixtures/resources.xlf

Installing it as a dependency of your project will automatically move the binary vendors/bin folder.

Contribute ?

No thanks, I keep it as simple and stupid as possible.