Purpose:
Each CRS representation must have a category element which refers to the CRS definition and code.
Test method
- For each entry in the Dataset feed, check if one valid category element is provided for the CRS.
Reference(s):
- IR NS, M1, section 2.2.4, Spatial Data Sets Metadata parameters
- IR NS, M1, section 3.1.3, Coordinate Reference System parameter
- TG DL, Req 35
Test type:
Automated
Notes
Testing the contents of the value for being a valid CRS code is hard to automate / determine unambigiously. So only check on existence of the required element.
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression |
---|---|
entry | //atom:entry |
category element | //atom:entry/atom:category[string-length(@term)>0 and string-length(@label)>0] |