After looked the code, I think the problem is that the test2.xsd IDOModel only
includes test1.xsd IDOM Element at first time and the test2.xsd trigger its
listener to represent all elements in the Editor. If I changed something in the
test1.xsd IDOModel, it triggers its listener and represent itself. The
test1.xsd IDOModel, itself does not know it has been included by test2.xsd.
There is no way notify test2.xsd changing synchronously. Therefore, I guess we
need IDOM Manager which manages both IDOModel, but how ?.......I already posted
the question on Bigzilla. Waiting for Valentin's reply.