We have a problem in opening a document of a custom doctype when upgraded from Epic Editor 5.1M to Arbortext Editor 5.3 M100. In our application We have two doctypes(for example 'DocA' and 'DocB'). The documents of these doctypes when opened in 5.1 version of Epic will appear without any error and works fine. But if the same document of doctype 'DocB' when opened in the upgraded version(5.3) is throwing an error, "FOSI compile failed". It also shows the cause of the error in a seperate window(Completeness Errors) which states that "There are 2 variables used whose values are never set. Use the 'show ids' command to locate these errors". When we debugged our custom files we found that these two variables are declared and used in fosi and entity files of doctype 'DocA'. Both these doctypes have seperate fosi files and entity files for each.
So when we open a document of doctype 'DocB' in new version its trying to load and refer to the variables declared in the other doctype entity file which was not referred in 'DocB' doctype.
Any idea why Arbortext Editor is behaving in this way?