[xsd-users] XSD compilation fails: "Global element declared more
than once"
Chalk, Andrew J
andrew.j.chalk at lmco.com
Tue Jan 3 17:54:47 EST 2017
Under Windows I get the same errors reported by Björn Stresing here<http://codesynthesis.com/pipermail/xsd-users/2015-May/004613.html>.
I.e.
error: global type 'complexType:AmcPurposeCodeType' declared more than once or also declared as simpleType
error: global type 'complexType:AmcPurposeCodeType' declared more than once or also declared as simpleType
error: global element 'MissionTypeWrapper' declared more than once
I upgraded from CodeSynthesis XSD v4.0 to http://codesynthesis.com/~boris/tmp/xsd/xsd-4.1.0.a3-i686-windows.zip with the same results.
In essence, XSD cannot handle multiple (identical) definitions. gSOAP does not have this problem. XSD on Linux can. This was acknowledged as a Windows-only bug in May 12014.
Is there a fix yet?
Many thanks.
More information about the xsd-users
mailing list