[xsd-users] Incomplete type

Benjamin DuPont ben at nebland.com
Tue Feb 21 20:20:28 EST 2017


The schema files I'm using are quite complex.  When I generate source 
(using xsd or xsd/e) without the --file-per-type option, I get *error: 
invalid use of incomplete type* compile errors.  I ran across this 
thread: 
http://codesynthesis.com/pipermail/xsd-users/2017-January/004856.html. 
The 4.1 version has the same issue.

When I generate code with the file-per-type option, the generator 
outputs: warning D002: --extern-xml-schema is recommended when 
--file-per-type is specified to reduce generated code size

I've tried unsuccessfully to use this option along with 
--generate-xml-schema.  Any tips as to how to use this feature?

Ben



More information about the xsd-users mailing list