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

Implement XML model for dependent value restrictions #4333

Merged
merged 8 commits into from
May 27, 2021

Conversation

matthias-ronge
Copy link
Collaborator

@matthias-ronge matthias-ronge commented Apr 12, 2021

First part of #4229. In this pull request, the XML model for rulesets is expanded so that condition blocks can be defined.

This is a follow-up pull request to #4329, immediate diff

This makes a lot of things easier and more understandable in the code,
and is a prerequisite for further development.

In the past, it was first decided to make the individual modules
independent of another, which also means that the ruleset module was
independent of the metadata that it processed. In the meantime, that has
become more relaxed, metadata is part of the API and can be used in
modules. So, this now introduces metadata into rule set modules, makes
it easier to use and more understandable, and gets rid of complicated
type parameters.

In the future, it can also be resolved that complex metadata could not
be mapped if not defined in the ruleset, because the ruleset module
could not be aware of it. Now it is, so that this problem, too, is easy
to solve in a continuation of this development.
@matthias-ronge
Copy link
Collaborator Author

@Kathrin-Huber Are you missing something here, or can you merge this?

@Kathrin-Huber Kathrin-Huber merged commit af073d1 into kitodo:master May 27, 2021
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.

2 participants