X-Received: by 10.66.124.136 with SMTP id mi8mr24570238pab.15.1411401404472; Mon, 22 Sep 2014 08:56:44 -0700 (PDT) X-Received: by 10.140.21.51 with SMTP id 48mr23576qgk.12.1411401404423; Mon, 22 Sep 2014 08:56:44 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!a13no1668919igq.0!news-out.google.com!q8ni28qal.1!nntp.google.com!w8no13269qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.sys.sun.apps Date: Mon, 22 Sep 2014 08:56:44 -0700 (PDT) In-Reply-To: <32a5e614-5694-4682-b24d-12dd04da1b67@y5g2000hsf.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.146.219.70; posting-account=dpt7WgkAAAD58vx8sJ2lPc6XwEkyWQdm NNTP-Posting-Host: 31.146.219.70 References: <32a5e614-5694-4682-b24d-12dd04da1b67@y5g2000hsf.googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <13b32ee4-337c-4fa4-ba99-e1b5bc9b4054@googlegroups.com> Subject: Re: xjc jaxb Two declarations cause a collision in the ObjectFactory class. From: tornike.amonashvili@gmail.com Injection-Date: Mon, 22 Sep 2014 15:56:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.sys.sun.apps:21 On Thursday, December 20, 2007 4:26:56 PM UTC+4, pinguin wrote: > During generation of a webservice with eclipse europe (xfire) using > jaxb I got an error message. > After trying the same with netbeans 6.0 I got an error message. > As it seams, the xsd defenition is case sensative the xjc compiler is > not. > > Is there a known work around? > > Problem can be reproduced with xjc from jdk 1.6.0_03 > output from compilation > > H:\Mijn Documenten\KLIC\xjcbug> d:\apps\Java\jdk1.6.0_03\bin\xjc > myschema.xsd > parsing a schema... > compiling a schema... > [ERROR] Two declarations cause a collision in the ObjectFactory class. > line 46 of file:/H:/Mijn%20Documenten/KLIC/xjcbug/myschema.xsd > > [ERROR] (Related to above error) This is the other declaration. > line 48 of file:/H:/Mijn%20Documenten/KLIC/xjcbug/myschema.xsd > > [ERROR] Two declarations cause a collision in the ObjectFactory class. > line 48 of file:/H:/Mijn%20Documenten/KLIC/xjcbug/myschema.xsd > > [ERROR] (Related to above error) This is the other declaration. > line 47 of file:/H:/Mijn%20Documenten/KLIC/xjcbug/myschema.xsd > > Failed to produce code. > > schema myschema.xsd > > > elementFormDefault="qualified" attributeFormDefault="unqualified"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > type="huisNummerToevoegingType" minOccurs="0" /> > > > > > > > > >