Currently, Makefile serves 3 functions.
- Validate the XML file against the schema.
- If invalid, use xmllint to highlight the problem. xmllint only works with canonicalized version thanks to the lack of support of entitty references.
- If valid, sign it.
All should be done in one tool.