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

Support vocabulary with mixed case name #237

Open
dalito opened this issue Dec 3, 2024 · 1 comment
Open

Support vocabulary with mixed case name #237

dalito opened this issue Dec 3, 2024 · 1 comment
Labels
enhancement Request for changing or improving existing features

Comments

@dalito
Copy link
Member

dalito commented Dec 3, 2024

Mixed case ?concept scheme? names are not treated correctly everywhere, e.g. see the wrong link-URL on the index page for the vocabulary named dataLevel on https://oggioniale.github.io/elter-vocabularies/

The link to the documentation on GitHub is lower-cased

  • https://oggioniale.github.io/elter-vocabularies/dev/datalevel

but should keep the original case

  • https://oggioniale.github.io/elter-vocabularies/dev/dataLevel

link to repo

Discovered in #235

@dalito dalito added the bug Something is not working as expected. label Dec 3, 2024
@dalito
Copy link
Member Author

dalito commented Feb 3, 2025

Currently normalizing to lowercase helps to avoid mistakes. It is not a bug but by design.

So supporting mixed case would be a new feature. I am not yet convinced that it is a good idea.

If it is added, all internal keys for the lookup of idrange.config values should stay case-insensitive. We could store the mixed-case name as a new variable in idrange.config and use it just when producing certain outputs like the docs, URIs etc..

@dalito dalito added enhancement Request for changing or improving existing features and removed bug Something is not working as expected. labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for changing or improving existing features
Projects
None yet
Development

No branches or pull requests

1 participant