-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Validate XLIFF files in tests using the XSD #38939
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Yeah, this would be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good. This change also removes a dependency on a internal PHPUnit class that has caused us trouble recently. 👍🏻
src/Symfony/Component/Form/Tests/Resources/TranslationFilesTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Validator/Tests/Resources/TranslationFilesTest.php
Outdated
Show resolved
Hide resolved
|
Thank you @wouterj. |
The current tests only validated that the Xliff files were valid XML. This improves it to also validate the Xliff files against the correct XSD. This will avoid issues like #38935 in the future.
cc @Nyholm