-
Notifications
You must be signed in to change notification settings - Fork 25
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
[FEATURE] METS application profile validation #335
base: master
Are you sure you want to change the base?
[FEATURE] METS application profile validation #335
Conversation
28867af
to
3648c40
Compare
@beatrycze-volk The implementation works in Typo3 11, and corresponding tests have been written. |
remove single quotation mark
Will this validation also use the DDB schematron validation? We already have a script which does that. |
This is not part of this PR and has already been implemented: https://kitodo.github.io/kitodo-presentation/Developers/Validation.html#saxonxsltosvrlvalidator. The DomDocumentValidation middleware (https://kitodo.github.io/kitodo-presentation/Developers/Validation.html#domdocumentvalidation-middleware) can, among other things, be configured with The validation documentation (https://kitodo.github.io/kitodo-presentation/Developers/Validation.html#) generally provides clarification in this regard. If anything is missing or there are questions, I would appreciate your feedback. |
Thanks. I did not know that this middleware exists. |
It hasn’t been around for very long and isn’t included in any release yet. |
tx_dlf
with configuration for [DOMDocumentationValidation middleware] (https://github.com/kitodo/kitodo-presentation/blob/main/Classes/Middleware/DOMDocumentValidation.php) using the XML-Schemes Validator and the ApplicationProfileValidationStackIt can be tested by calling the validation middleware with a faulty METS file:
https://example.com?middleware=dlf/domDocumentValidation&url=https://3drepo.eu/modelupload/b5df7cd550f64e818943ad96fff7e902metsmods.xml
which results in JSON Reponse