Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1.1
-
Fix Version/s: None
-
Component/s: XML code generator
-
Labels:None
-
Number of attachments :
Description
Code generated from schemas containing anonymous complex does not seem correct when default binding type is set to "type".
The attached schema (IBConfiguration.xsd) attempts to demonstrate the problem. Whenever code is generated from this schema (and warnings are enabled) the code generator gives the warning "Warning: A class name generation conflict has occured between element '/IBConfiguration/Servers' and element '/IBConfiguration'".
I've attached all the source files that are generated from this schema (generated_code.zip). A class has been generated for the top-level complex type, but classes haven't been generated for the anonymous complex types (which they were with version 1.0.1) and their elements. A strange class named "null" has been generated which appears to contain the code for one these complex types.Maybe each anonymous complex type is given the name "null"?
Sorry if I've missed any information, please let me know if you require anything else.
Best Regards,
Richard