Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 2.71 KB

features.md

File metadata and controls

46 lines (30 loc) · 2.71 KB

Feature references

Version: 1

Purpose: Verify that referenced features can be retrieved.

Prerequisites

Test method

  • Verify that any feature reference in an association role is publicly accessible via HTTP, i.e. inspect all relevant properties. If a reference (@xlink:href) has a value that starts with "#", verify that an element with a gml:id attribute with the referenced identifier exists in the same document. If the reference starts with "http", verify that a HTTP GET request to the URI retrieves an XML document. Otherwise report brokenLink.

This data theme currently has the following asscoiation roles:

Reference(s):

Test type: Automated

Notes

Messages

Identifier Message text (parameters start with '$')
brokenLink XML document '$filename', $featureType '$gmlid': The property '$propertyName' has a value '$value' that cannot be retrieved using HTTP. Every code list value must be made available in an online registry.

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression Multiplicity Voidable
administrativeUnit //schema-element(cp:BasicPropertyUnit)/cp:administrativeUnit/@xlink:href or
//schema-element(cp:CadastralParcel)/cp:administrativeUnit/@xlink:href
1
0..1
Yes
No
parcel //schema-element(cp:CadastralBoundary)/cp:parcel/@xlink:href 1..2 Yes
basicPropertyUnit //schema-element(cp:CadastralParcel)/cp:basicPropertyUnit/@xlink:href 0..* Yes
zoning //schema-element(cp:CadastralParcel)/cp:zoning/@xlink:href 0..1 Yes
upperLevelUnit //schema-element(cp:CadastralZoning)/cp:upperLevelUnit/@xlink:href 0..1 Yes