Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix wrong value in file id attribute for Xliff 2.0#30074

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:4.2fromdeguif:xliff-file-dumper
Feb 7, 2019

Conversation

@deguif
Copy link
Contributor

QA
Branch?4.2
Bug fix?yes
New feature?no
BC breaks??
Deprecations?no
Tests pass??
Fixed tickets
LicenseMIT
Doc PR

Currently using theXliffFileDumper for exporting messages from catalogue with domain of the formxxxx+intl-icu produces an invalid Xliff version 2.0 file as the file id attribute is of typexs:NMTOKEN (cf.https://github.com/symfony/translation/blob/master/Resources/schemas/xliff-core-2.0.xsd#L139) which doesn't accept+ character (cf.http://www.datypic.com/sc/xsd/t-xsd_NMTOKEN.html).
Exception is thrown when loading the content after.

mykiwi, bgaillard, gpenverne, kbsali, and ACHP reacted with thumbs up emoji
Copy link
Contributor

@OskarStarkOskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Could you add a test for this case?

@nicolas-grekasnicolas-grekas added this to the4.2 milestoneFeb 5, 2019
@deguifdeguifforce-pushed thexliff-file-dumper branch 2 times, most recently from8043038 to8ed345eCompareFebruary 5, 2019 13:06
@deguif
Copy link
ContributorAuthor

Tests added, and tests are green ;)

OskarStark reacted with thumbs up emoji

@OskarStark
Copy link
Contributor

Thank you very much

@nicolas-grekas
Copy link
Member

Thank you@deguif.

@nicolas-grekasnicolas-grekas merged commit8bf12f8 intosymfony:4.2Feb 7, 2019
nicolas-grekas added a commit that referenced this pull requestFeb 7, 2019
This PR was squashed before being merged into the 4.2 branch (closes#30074).Discussion----------Fix wrong value in file id attribute for Xliff 2.0| Q             | A| ------------- | ---| Branch?       | 4.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | ?| Deprecations? | no| Tests pass?   | ?| Fixed tickets || License       | MIT| Doc PR        |Currently using the `XliffFileDumper` for exporting messages from catalogue with domain of the form `xxxx+intl-icu` produces an invalid Xliff version 2.0 file as the file id attribute is of type `xs:NMTOKEN` (cf.https://github.com/symfony/translation/blob/master/Resources/schemas/xliff-core-2.0.xsd#L139) which doesn't accept `+` character (cf.http://www.datypic.com/sc/xsd/t-xsd_NMTOKEN.html).Exception is thrown when loading the content after.Commits-------8bf12f8 Fix wrong value in file id attribute for Xliff 2.0
@fabpotfabpot mentioned this pull requestMar 3, 2019
@deguifdeguif deleted the xliff-file-dumper branchMay 12, 2019 19:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@OskarStarkOskarStarkOskarStark approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

6 participants

@deguif@OskarStark@nicolas-grekas@xabbuh@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp