Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[md-tg-2.0] Error in test of md-isdss 2.5 (character encoding) #179

Open
michellutz opened this issue Sep 15, 2018 · 1 comment
Open

[md-tg-2.0] Error in test of md-isdss 2.5 (character encoding) #179

michellutz opened this issue Sep 15, 2018 · 1 comment
Assignees
Labels

Comments

@michellutz
Copy link

Relevant for https://github.com/inspire-eu-validation/ets-repository/blob/md-tg-2.0/metadata/2.0/datasets-and-series/ets-md-isdss-bsxets.xml

The test wrongly reports an error even when the character encoding is 'utf-8', as in the attached example. There might be an error in one of the boolean expressions.

Please find below:

@PaulaRodrigo-Geograma
Copy link
Contributor

The test works that way on purpose, because the requirement of the technical guide has been interpreted as well. But interpretation has been confusing when it comes to ensuring that the utf8 element is allowed when using gmd:MD_CharacterSetCode:

TG Requirement 2.5: metadata / 2.0 / req / isdss / character-encoding

The character encoding (s) shall be given for data sets and datasets sets which use encodings NOT BASED on UTF-8 by using element gmd: characterSet / gmd: MD_CharacterSetCode referring to one of the values of ISO 19139 code list MD_CharacterSetCode50.

However, the description continues: "

If more than one character encoding is used within the described data sets or data sets, all used character encodings, including UTF-8 (code list value" utf8 "), shall be given using this element "

If you think it is very clear, we change the test so that it allows "utf8" values using the element gmd: characterSet/gmd: MD_CharacterSetCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants