Hello there
I am trying to develop an extension to the standard XLIF filter, which overrides the information in the structure info column on the right hand side.
Example: paragraphUnit.Properties.Contexts.Contexts[1].DisplayText = "TEST";
This works well, as long as I only use "Translate single file" to open and process an XLIF file.
However, when I create a project, an object reference error is thrown. The error is actually not thrown by the extension code, but seems to come from the framework. The SDL XLIFF file resulting from the Convert task cannot be opened in the Studio Editor, an empty page is shown.
Below is the stack trace produced when creating the project. Any idea of what is happening here? In what way is the conversion to SDL XLIFF different when opening a single file from creating a project?