Purpose: Test that at least one Topic category describing the category of the resource is provided.
Prerequisites
Test method
-
Check that at least one Topic Category element exists.
-
For every Topic Category,
- Check that Topic Category Code exists and its value is one of the ISO 19115 topic category code list values.
-
If any of the checks fails, the test fails.
Reference(s)
- TG MD, 3.1.2.5, Req 1.7
- B.5.27 of ISO 19115
Test type: Automated
Notes
The multiplicity of this element is one or more.
Contrary to other code lists which are defined in the ISO 19139 XML Schema as references to an external code list, gmd:MD_TopicCategoryCode element is defined as a string enumeration.
The namespace prefixes used as described in README.md.