Question #4252
closed
XML Schema or DTD for metadata.xml validation
Added by Christophe Nowicki almost 11 years ago.
Updated over 8 years ago.
Description
Hi,
I am looking for an XML Schema or DTD File for validating the metadata.xml file.
I would like to setup an pre-commit hook with git and xmllint in order to check those files.
Best Regards,
- Category set to Documentation
- Status changed from New to Discussion
- Assignee set to François ARMAND
- Priority changed from N/A to 4
- Target version set to Ideas (not version specific)
Hi again :D
I think François is the more knowledgeable in this kind of questions. François, do we have a DTD / Schema for metadata files ?
Hi Christophe,
A first step could be to run the scripts/check-techniques.sh script in the rudder-techniques repo. It does some basic syntax and error checking.
It could also be easily extended to use a real schema/DTD when that's available.
- Status changed from Discussion to Resolved
Question answered a long time ago, feel free to reopen if something is still missing
Also available in: Atom
PDF