-
Notifications
You must be signed in to change notification settings - Fork 45
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] General reusable validation implementation and middleware for validating DOMDocument #1313
Conversation
@sebastian-meyer Thanks, I had overlooked that. I added the lines back. |
Hi Sebastian and Markus. Your recent changes fail unit tests in my branch (php 7.4, typo3 v11). Any ideas?
|
@thomaslow The problem seem to be the Typo3 function |
@thomaslow i run the tests again with |
@markusweigelt I followed the empty string of The difference between I'm not sure how to fix this. I see two options:
|
We copied |
I opened a new issue in order to discuss this further: #1348 |
This PR provides abstract classes to derived from for custom validation and reusable implementations for validation of DOMDocument.
AbstractValidator
of Extbase)DOMDocumentValidationStack
,XMLSchemesValidator
andSaxonXslToSvrlValidator
DOMDocumentValidation
middleware via TypoScript settingdomDocumentValidationValidators
Example of middleware
URI Query:
dlf/domDocumentValidation&url=https%3A%2F%2Fwww.example.com%2Fmetsmods.xml
JSON response