Some elements within hq-plugin.xml which are later referenced needs to be on correct order. For example:
<metrics name="m1"/> <server> <metrics include="m1/> </server>
Metrics definition must be introduced before its included on somewhere else.
- Check what we can validate with relax.
- After xml syntax validation is done, do logical validation.
- Need to create list of these special rules.