Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1 M1, 1.1 M2, 1.1 M3, 1.1
-
Fix Version/s: 1.2
-
Component/s: XML code generator
-
Labels:None
-
Environment:Problem started at 0.9.9-M1 including 1.1, 0.9.7 works as expected
-
Testcase included:yes
-
Number of attachments :
Description
I never have "generateImportedSchemas" enabled. Nevertheless castor generates sources from imported schemas.
In my case only the complexTypes of the imported schema are generated which are referenced from the main schema.
Some comments on the test case: in the binding file I specified a different package for the imported schema.
castor <= 0.9.7 generates only code for element A in the base package, castor >= 0.9.9M1 also generates the code for the complexType X in the package speciified by the binding file.