users@jaxb.java.net

How to resolve class/interface conflict

From: Hristo Stoyanov <hr_stoyanov_at_yahoo.com>
Date: Thu, 20 Jan 2005 18:16:04 -0800 (PST)

Hi all-,
I am getting the below conflicts, trying to compile these schemas (http://www.irs.gov/efile/article/0,,id=128360,00.html). Since there are way to many conflicts, it is not feasible to write customization file and enumerate all of them. Is there any xjc compile option, so it can ignore all duplicate classes? I tried that with XmlBeans and it workds just fine.
------------------------------
[ERROR] A class/interface with the same name "gov.irs.efile.GeneralDependencyTyp
e" is already in use. Use a class customization to resolve this conflict.
  line 43 of GeneralDependency.xsd
[ERROR] (Relevant to above error) another "GeneralDependencyType" is generated f
rom here.
  line 25 of GeneralDependency.xsd
[ERROR] A class/interface with the same name "gov.irs.efile.IRS1120EliminationsO
rAdjType" is already in use. Use a class customization to resolve this conflict.
  line 91 of IRS1120EliminationsOrAdjustments.xsd
[ERROR] (Relevant to above error) another "IRS1120EliminationsOrAdjType" is gene
rated from here.
  line 29 of IRS1120EliminationsOrAdjustments.xsd
[ERROR] A class/interface with the same name "gov.irs.efile.IRS1120SchM3Eliminat
ionsOrAdjType" is already in use. Use a class customization to resolve this conf
lict.
  line 51 of IRS1120ScheduleM3EliminationsOrAdjustments.xsd
[ERROR] (Relevant to above error) another "IRS1120SchM3EliminationsOrAdjType" is
 generated from here.
  line 27 of IRS1120ScheduleM3EliminationsOrAdjustments.xsd

                
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'