Actions
Question #4252
closedXML Schema or DTD for metadata.xml validation
Status:
Resolved
Priority:
4
Assignee:
Category:
Documentation
Target version:
Regression:
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,
Updated by Matthieu CERDA almost 11 years ago
- 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 ?
Updated by Jonathan CLARKE over 10 years ago
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.
Updated by Benoît PECCATTE over 8 years ago
- Status changed from Discussion to Resolved
Question answered a long time ago, feel free to reopen if something is still missing
Actions