XmlSchemaConformance - nick-knowles/NeTEx GitHub Wiki
An XML document is conformant if it validates against its schema. This includes the following checks, and also satisfying any Xml Integrity rules .
Elements
- Only the permitted element tags (note that some tags may allow the embedding of other schemas.
- Mandatory element must be present.
- Any minimum and maximum cardinalities must be satisified.
- All elements in the required order.
Attributes
- Only the permitted attributes (in any order).
- Mandatory attributes must be present.
Data types
- Values for Enumerations must be one one of the allowed values.
- Data types must satisfy their format, e.g. date, time, boolean, integer, URI, etc.