I get a compile error in SimpleTextParser. It appears that something has changed in the 2011 release. It evidently needs to have the SetFileProperties method in order to meet the INativeContentCycleAware interface.
So, I have added
Sdl.FileTypeSupport.Framework.BilingualApi.IFileProperties _fileProperties=null;
void INativeContentCycleAware.SetFileProperties(Sdl.FileTypeSupport.Framework.BilingualApi.IFileProperties properties)
{
_fileProperties = properties;
}
I also added the if statement below:
protected override void BeforeParsing()
{
// set progress reporter to the beginning
OnProgress(0);
// open the native input file for reading
if (_fileConversionProperties != null) // DWH use the one that got set
_reader = new StreamReader(_fileConversionProperties.OriginalFilePath);
else
_reader = new StreamReader(_fileProperties.FileConversionProperties.OriginalFilePath);
}
Then when I try to open the simple.text test file that is supplied in the sample, when I am doing the Prepare batch process, I get an error in the Convert to Translatable Format step:
I would appreciate any suggestions.