Problem

I get the following IDL error: prefix at declaration differs from prefix at definition or use

Solution

This problem is due to a bug of the TAO IDL compiler. See SPR ALMASW2003046 for details.

A workaround is to include two files that have the following code:

#include <xmlentity.idl>
#pragma prefix "ALMA"