Version: 1
Purpose: Verify that all XML documents validate against the XML schema(s) declared in the schemaLocation attribute.
Prerequisites
Test method
- Verify for each XML document that in the root element a schemaLocation attribute is provided. Otherwise report noSchemaLocation
- Validate each document against the schema(s) specified in the xsi:schemaLocation attribute using strict XML schema validation. Otherwise report invalidSchema.
Reference(s):
- TG DS Template IR requirement Article 3
- TG DS Template IR requirement Article 4 (2)
- TG DS Template IR requirement Article 4 (3)
- TG DS Template IR requirement Article 5 (2)
- TG DS Template IR requirement Article 5 (3)
- TG DS Template IR requirement Article 6 (5)
- TG DS Template IR requirement Article 9 (1)
- TG DS Template TG requirement 1
- TG DS Template TG requirement 6
Test type: Automated
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression |
---|---|
schemaLocation | /*[@xsi:schemaLocation] |