Skip to content
Mamadou Sy edited this page Mar 22, 2016 · 2 revisions

Config

The config.xml file is the main reference of the ADX.

It contains all metadata, public/private properties and generation rules.
It must be available at the root of the ADX file structure.

The schema of config.xml is defined by the ADCSchema.xsd file for ADC and ADPSchema.xsd file for ADP.

The root node of Config.xml is:

<page> ADP only


<control> ADC only

Both config contains 4 parts:

Notes about the type format used in the XML

(1) Legal version number

Legal version number using maximum 3 digits and optional alpha, beta or rc version.

Pattern

^(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.(\d+))?(?:\.(alpha|beta|rc)(\d*))?$

Examples


1
1.0
1.0.1
1.0.1.alpha
1.alpha1
2.12.132.beta25
0.2.rc3

(2) Number pattern

Based on xsd:token and restricted to a number pattern, it allows the usage of star symbol (*) to indicates an unbounded number.

Pattern

^-?(\*|\d+(\.\d+)?)$

Examples


0
0.1
123.456
456
"*" (unbounded number)

<< Structure | Config Root >>