Skip to content
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

Xliff with other node than source or target are ignored #6079

Closed
wants to merge 2 commits into from
Closed

Xliff with other node than source or target are ignored #6079

wants to merge 2 commits into from

Conversation

xkobal
Copy link
Contributor

@xkobal xkobal commented Nov 20, 2012

Referring to the xliff XSD, the format can allow other nodes like . Check only count is dangerous if others nodes are present, and we aren't sure that nodes are the two we wan't (source and target)

And the real problem if that if there is other node in translation, the translation is silently ignored.

Referring to the xliff XSD, the format can allow other nodes like <note>. Check only count is dangerous if others nodes are present, and we aren't sure that nodes are the two we wan't (source and target)(cherry picked from commit a19a31d)
@stloyd
Copy link
Contributor

stloyd commented Nov 20, 2012

You should add test that covers this, as well as #6078 should be closed (branch 2.1 is merged from time to time to master).

…nored

(cherry picked from commit 153bd4898db4b113fc928f91bf8796f93ce96d2c)
@xkobal
Copy link
Contributor Author

xkobal commented Nov 21, 2012

I have added a new node to xliff fixtures and edit test to be sure node isn't ignored.

@fabpot fabpot closed this in aa12428 Nov 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants