Bug while reading SDLXLIFF Files

I use this code to read Sdlxliff files with c#:

IMultiFileConverter converter = _fileTypeManager.GetConverterToDefaultBilingual(filePath, filePath + "_.sdlxliff", null);

ContentProcessor contentProcessor = new ContentProcessor {SegmentList = new List<SegmentClass>()};

converter.AddBilingualProcessor(contentProcessor);
converter.Progress += converter_Progress;
converter.Parse();

When I read a translation unit with a comment as shown in segement 12, it gets truncated. The yellow part diesappears!


Screenshot of Trados Studio software showing a bilingual file comparison with segment 12 highlighted, indicating a comment truncation issue in the yellow section.

Does anybody know a other methode to parse sdlxliff files?



Generated Image Alt-Text
[edited by: Trados AI at 1:37 PM (GMT 0) on 5 Mar 2024]
emoji
Parents Reply Children
No Data