Project

General

Profile

Actions

Question #4252

closed

XML Schema or DTD for metadata.xml validation

Added by Christophe Nowicki about 11 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
4
Category:
Documentation
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,

Actions #1

Updated by Matthieu CERDA about 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 ?

Actions #2

Updated by Matthieu CERDA almost 11 years ago

bump !

Actions #3

Updated by Jonathan CLARKE almost 11 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.

Actions #4

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

Also available in: Atom PDF