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">


















attern value="([0-9]{4,4}[A-Z]{2,2})"/>












type="huisNummerToevoegingType" minOccurs="0" />