iho-ohi / S-101-Test-Datasets

A repository of S-101 test datasets which make available for development phases and they will be migrated to the Registry later.
24 stars 6 forks source link

CATALOG.XML defaultLocale has invalid S100_MD_LanguageCode #14

Closed DavidGrant-NIWC closed 1 year ago

DavidGrant-NIWC commented 1 year ago

Valid language codes are listed here: https://schemas.s100dev.net/schemas/S100/5.0.0/resources/Codelists/cat/codelists.html

Note that "EN", "ENG", and "ENGLISH" are all invalid. Instead, "eng" should be used, or the defaultLocale should be omitted: image

kusala9 commented 1 year ago

these are hangovers from edition 4.0.0 in the original metadata (I migrated/converted the ed4 metadata to produce the ed5 exchange set). In 4.0.0 defaultLocale was mandatory so all 4.0.0 CATALOG.XML's include this (with possibly erroneous fields). I think we should delete these from the edition5.0.0 CATALOG.XML as they're not mandatory fields and their use in an ECDIS is currently unclear to me...

kusala9 commented 1 year ago

taken out of version 2 of the exchange catalogue. Is locale information useful/desirable in the ECDIS exchange catlaogues. They're optional in 5.0.0....

kusala9 commented 1 year ago

close. this is no longer an issue in the S-164 datasets. Caused by migration of edition 4.0.0 data into early exchange sets.