Executing a “xjc” command on these xsd files returns a Two declarations cause a collision in the ObjectFactory class because there are 2 elements named “Scale” and “scale”.
According to this page, this problem may be solved by customizing the xsd files with <factoryMethod>.
Do you know how to do that? Do you have an example of binding file to do that?
You can use the bindings tag. Set the schemaLocation attribute to the location of a particular xsd. The child tags, schemaBindings and package, then define a new package namespace for that xsd. Below is the bindings file I used with xjc a while ago. If it still works, great. If not, example =).