Use Case :
I'm planning to introduce custom checks for multiple users, in which each project owner can define their own set of checks. I also have a set of default set of checks that needs to run for every project. During the run time of Checkstyle, I want to merge the project specific checks and the default checks. Having a XSD can help me validate if the merged XML configuration file is formed correctly or not.
Since some of the checks go inside of the Checker module and many checks go inside the TreeWalker module, we need to correctly place the checks, so that the run doesn't fail at all after creating a wrong merged XML.
Question :
Is there any XSD available for validating ? Or may be an API within Checkstyle which can do the merge ?
I've seen the DTD that is present, but that doesn't help in completely validating the entire configuration file.
Use Case :
I'm planning to introduce custom checks for multiple users, in which each project owner can define their own set of checks. I also have a set of default set of checks that needs to run for every project. During the run time of Checkstyle, I want to merge the project specific checks and the default checks. Having a XSD can help me validate if the merged XML configuration file is formed correctly or not.
Since some of the checks go inside of the Checker module and many checks go inside the TreeWalker module, we need to correctly place the checks, so that the run doesn't fail at all after creating a wrong merged XML.
Question :
Is there any XSD available for validating ? Or may be an API within Checkstyle which can do the merge ?
I've seen the DTD that is present, but that doesn't help in completely validating the entire configuration file.