#A.10.IR08.IR09.ds.language
Purpose: If the type of the resource was dataset or series and the resource contains textual information, a resource language must be given.
Prerequisites
- A.01.validate must be passed
Test method
The test first checks if a gmd:LanguageCode object is given and contains a codeList and codeListValue attribute. It is then checked if the codeListValue attribute contains a valid 3-letter language code according to ISO/TS 19139. If the type of the resource is not dataset or series, this test is omitted.
Reference(s)
Test type: Automated
Notes
##Contextual XPath references
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression (relative to gmd:MD_Metadata) |
---|---|
LanguageCode | gmd:identificationInfo[1]/*/gmd:language/gmd:LanguageCode |