Skip to content

XliffCompare: Make non-breaking space edits visible in report#1044

Open
murxh wants to merge 6 commits intoRWS:masterfrom
murxh:master
Open

XliffCompare: Make non-breaking space edits visible in report#1044
murxh wants to merge 6 commits intoRWS:masterfrom
murxh:master

Conversation

@murxh
Copy link
Contributor

@murxh murxh commented Jun 17, 2022

So far edits where a space had been replaced with a nbsp (or vice versa) are not shown. This fix addresses this by creating a 'word' when one or more non-breaking spaces are encountered.

murxh and others added 6 commits June 17, 2022 22:04
UNNECESSARY AND POSSIBLE NULL REFERENCE EXCEPTION: SourceFile might be null in a WorldServer project
ProjectFileService.GetProjectFiles fails silently if it encounters invalid xml chars (like 0x1C, 0x1E, ...), resulting in an empty export file without any warning to the user

An easy fix is to use XmlReaderSettings { CheckCharacters = false };
StudioViews.Services.ProjectFileService: Update GetProjectFiles to avoid silent fail
@Impertatore
Copy link
Contributor

Hi @murxh , srry for taking so long to review this PR. I approve yr changes, but it's been so long the PR is not in sync; can you please resolve the conflicts and push the updates again?

@sonarqubecloud
Copy link

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.

2 participants

Comments