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

Validates ECHO10 URL Type Modifications #306

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Validates ECHO10 URL Type Modifications #306

wants to merge 1 commit into from

Conversation

binni979
Copy link
Contributor

@binni979 binni979 commented Nov 8, 2024

Pull Request Description
This pull request fixes the validation issue for ECHO10 records where URL Type values may include combinations of Content Type, Type, and Subtype.

The validate_online_resource_type function now supports case-insensitive checks and correctly handles separators (:, :, etc.), ensuring compliance with the GCMD hierarchy.
Acceptable combinations such as "Type : Subtype" and "Content Type : Type" are now validated without errors, while invalid or incorrectly formatted values are flagged appropriately.

@binni979 binni979 requested a review from xhagrg November 8, 2024 18:04
@binni979 binni979 self-assigned this Nov 8, 2024
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