Hi,
 
Here's a possible enhancement idea for the SourceGenerator:
 
Currently, if it detects two local elements with the same name (defined
under different complex types) it will warn that the resulting Java
class will be overwritten and prompts the user for a confirmation. To
get rid of the warning one can define a global element and reference it
from the two complex types.
 
SourceGenerator could, however, detect that the two local element
declarations are identical (in name, type, minOccurs, maxOccurs, etc.)
and potentially print out a message that because they're identical only
one Java class is created for both.
 
Not sure if this appears often enough to justify special handling
though...
 
Thanks
Alex

Reply via email to