8000 Validate XLIFF files in tests using the XSD by wouterj · Pull Request #38939 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@wouterj
Copy link
Member
@wouterj wouterj commented Nov 1, 2020
Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

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

Copy link
Member
@Nyholm Nyholm left a 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.

Copy link
Member
@derrabus derrabus left a 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. 👍🏻

@fabpot
Copy link
Member
fabpot commented Nov 1, 2020

Thank you @wouterj.

@fabpot fabpot merged commit 9947e14 into symfony:4.4 Nov 1, 2020
@wouterj wouterj deleted the xliff-lint branch November 1, 2020 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

0