[xsd-users] XSD compilation fails: "Global element declared more than once"

Boris Kolpackov boris at codesynthesis.com
Fri May 8 15:28:32 EDT 2015


Hi Björn,

Björn Stresing <bjoern.stresing at gmx.de> writes:

> However compilation fails with a bunch of "Global element xxx
> declared more than once" errors.

I just downloaded the schema and used the options file and the
command line exactly as in your email. I don't get the error that
you are getting; everything compiles fine with 4.0.0.

Perhaps you've changed the schema while trying to make it work
without the --file-per-time option? Maybe try on the freshly
unpacked original schema.

If this still doesn't help, can you post the exact output
that you are getting from the XSD compiler?

Boris



More information about the xsd-users mailing list