Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

KPI occurences of XPaths #97

Description

@tomkralidis

While the KPIs define specific XPaths in order to perform quality assessment, we need to consider ISO XML Schema cardinality of various complexTypes.

For example, KPI 2 defines an XPath of /gmd:MD_Metadata/gmd:identificationInfo//gmd:citation/gmd:CI_Citation/gmd:title. In 19115/19139 proper, gmd:identification can occur 1..n times. For a WMCP document that defines, say, 3 gmd:identificationInfo elements, how should pywcmp evaluate?

  • test for all titles (3), thus bumping up the total by 8 foreach)
  • test for one title (the first?)

In reality I'm not sure how many GISCs are putting more than one gmd:identificationInfo per WCMP document, so should pywcmp check for all occurrences, or fix to the first? My gut would say the former for completeness, to which the total points will scale.

Thoughts?

cc @josusky

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions