Conflict When Having Two XMLBean Generated classes for the same Schema...

Horst Heistermann <[email protected]> Thu, 16 Jun 2011 07:35:49 -0700
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
Hi,

   I am having an issue in my environment because I have two XMLBean generated classes pointing to the same schema. Sometimes when I use the factory of one class
it tries to create an instance of the other XMLBean class (even though I am using the factory of the class I want to create!).  This causes a classcastexeception

Is there a way to avoid this? The issue is indeterminate because it works fine most of the time but once in a while this issue crashes the program

Thanks,

Horst