Skip to content

Declare each conformance class as its standard publishes it - #89

Merged
estebanzimanyi merged 2 commits into
masterfrom
fix/conformance-declared-as-published
Nov 19, 2026
Merged

estebanzimanyi merged 2 commits into
masterfrom
fix/conformance-declared-as-published

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Row A7 of the MobilityAPI plan (MobilityDB/MobilityDB#3805): each declared class named as its standard publishes it.

The defect

Two standards MobilityAPI declares publish their class identifiers under https:// in their text: OGC API - Common - Part 2 (OGC 20-024, clause 2 and its abstract tests) and the Coverages draft (OGC 19-087 1.0.0rc4, 132 identifiers, none under http://). Their OpenAPI documents write the same classes under http://, the scheme OGC's naming policy (OGC 10-103r1) roots specification elements at, and so does OGC's Coverages test suite: ets-ogcapi-coverages10 checks http://www.opengis.net/spec/ogcapi-coverages-1/1.0/conf/core by string equality (ConformanceClass.byConformanceClass).

On master the declaration names the Coverages classes under https:// alone, so that suite's conformance test fails, and Common Part 2's collections under http:// alone, a string Part 2's text never writes.

The change

  • conformsTo names each class as its standard publishes it, and a class published under https:// also under http://. Common Part 2's collections is written as Part 2 publishes it, https://, and the routes it marks carry that spelling.
  • The EDR comment states the classes of EDR 1.1 the tier answers in part and does not declare: queries, eight queries each one a server MAY answer, of which the tier answers four; covjson, which names CoverageJSON application/prs.coverage+json where the tier writes application/vnd.cov+json, the type OGC CoverageJSON (OGC 21-069r2) defines.

The test

TestConformanceNamesEachClassAsPublished asserts the identifier the Coverages suite reads, the one the draft publishes, both spellings of Common Part 2's collections and Part 1's core under http://; that every https:// class has its http:// spelling; and that a class published under http:// alone gains no https:// one. With the http:// spelling removed from conformsTo it fails on seven identifiers.

OGC API - Common - Part 2 (OGC 20-024) and the Coverages draft (OGC 19-087
1.0.0rc4) publish their class identifiers under https:// in their text, while
their OpenAPI documents and OGC's Coverages test suite, ets-ogcapi-coverages10,
write them under http://, the scheme OGC's naming policy (OGC 10-103r1) roots
specification elements at. The suite compares identifiers as strings, so the
https:// Coverages core alone fails its conformance test, and the http:// Common
Part 2 collections alone is a string Part 2 never writes.

The declaration names each class as its standard publishes it, and a class
published under https:// also under http://. The EDR comment states the classes
of EDR 1.1 the tier answers in part and does not declare.
@estebanzimanyi
estebanzimanyi merged commit bc74df5 into master Nov 19, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/conformance-declared-as-published branch November 19, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant