Schema validation

Schema validation is an action performed to check whether XML document conforms to its schema. Validation is performed using XML validator.

Validation result either states that XML document is valid (conforms to schema) or lists errors found. Each error contains a line reference and an error message.

Schema errors are technical in nature. In other words, they often indicate only when a particular element (the tag) should not be present in detected location, therefore the knowledge of how the matter should be corrected is dependent on the know-how of the person involved. XML validation and analysis of the list of errors are therefore suitable only for the highly skilled specialist in the field. Therefore actual content experts have difficulties to participate in the error correction.

Limitations of schema validation

Schema validation detects mostly structural issues from the XML documents. XML validation doesn't find most content errors or errors related to the conditional requirements, sum checks, or other integrity constraints. Complete XML validation therefore requires use of rule-based validation, in addition to basic XML validation, to cover all technical and business rules. Truugo provides test profile concept which makes it effortless to perform both schema validation and the rule-based validation at once.

XML validation is performed using specific XML tools.

XML tools