User-driven XML validation

XML validators now support user-provided validation artefacts

Published on: 04/02/2020
Last update: 22/04/2021

The Test Bed's standalone XML validator, a reusable service to validate XML content using XML Schema and Schematron, now supports user-provided validation artefacts.



The Test Bed aims to continuously improve its core validation services to provide additional configuration options for its users. As part of this activity the latest update to be made available for it's XML validator is the support for user-provided validation artefacts, a feature already existing in the SHACL-based RDF validator but that was missing from its XML counterpart. Support for this has now been added, allowing a validator to support XML Schemas and Schematron rule files provided on-the-fly by users.

User-provided validation artefacts can be configured at a fine-grained level. They complement pre-configured artefacts and can be defined per "validation type". For example a validator can foresee one validation type as the fixed set of official requirements foreseen by a specification, with a sand-box validation type that allows users to provide additional Schematron rules to extend the core rules.

One of the first instances to make use of user-provided validation artefacts is the new generic XML validation service offered by the Test Bed itself. Similar to the generic SHACL-based RDF validator, this is a validation service with no pre-configured artefacts that can be used to validate XML content based on arbitrary requirements.

Generic XML validator

This generic service expects the user to provide an optional XML Schema and zero or more Schematrons to drive the validation. As such it offers a fully generic validation tool that can be used to address arbitrary validation needs. In addition, through its SOAP API, it allows machine-to-machine integrations and, as it implements the GITB validation service API, can be leveraged in GITB TDL conformance test cases when XML content validation is needed.

If you are already using the Test Bed's validators, be sure to check out the documentation on the properties to configure to enable user-provided validation artefacts. If you are unfamiliar with the Test Bed's XML and RDF validation capabilities but believe you could make use of them check out our XML and RDF validation guides and contact us at More information on the Test Bed itself can be obtained from its Joinup site, with the Test Bed's value proposition being an ideal starting point. Finally, to remain updated of all the latest Test Bed news:

  • Join the Test Bed’s community and subscribe to its news feed using your favourite RSS reader.
  • Follow ISA²'s social media channels (Twitter, LinkedIn) for updates on the Test Bed and other interoperability solutions.

Referenced solution