Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 1.3.4
-
Component/s: XML code generator
-
Labels:None
-
Testcase included:yes
-
Number of attachments :4
Description
Using snapshot 1.1.1-20070329.084439-9.
I have a simple test case with two schemas, where one imports the other, and references an element defined in that schema. When I compile the code, I see the following exception:
-----------------------
.../wamu/xmlbinding/xx/descriptors/FooDescriptor.java:74: cannot resolve symbol
symbol : class AccountProfile
location: class wamu.xmlbinding.xx.descriptors.FooDescriptor
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(AccountProfile.class, "_accountProfile", "AccountProfile", org.exolab.castor.xml.NodeType.Element);
-----------------------
This compile error is happening because the reference of "AccountProfile.class" should be "wamu.xmlbinding.xx.AccountProfile.class". The class file exists, but it's not in the "descriptors" package, it's in the parent package.
-
Hide
- castorbug2.zip
- 02/Apr/07 1:47 PM
- 2.72 MB
- David M. Karr
-
- META-INF/MANIFEST.MF 0.1 kB
- castorbug2/build.properties 0.4 kB
- castorbug2/build.xml 4 kB
- castorbug2/etc/castorbuilder.properties 2 kB
- castorbug2/etc/emptybinding.xml 0.2 kB
- castorbug2/etc/Schema1.xsd 0.5 kB
- castorbug2/etc/Schema2.xsd 0.7 kB
- castorbug2/lib/castor-1.1.1.jar 1.65 MB
- castorbug2/lib/castor-anttasks-1.1.1.jar 20 kB
- castorbug2/lib/castor-codegen-1.1.1.jar 447 kB
- castorbug2/lib/commons-logging.jar 37 kB
- castorbug2/lib/xercesImpl.jar 875 kB
- castorbug2/README.txt 3 kB
- castorbug2/src/.../castorbug/CastorBug.java 0.5 kB
-
Hide
- castorbugjunit.zip
- 19/Apr/07 2:02 PM
- 24 kB
- David M. Karr
-
- META-INF/MANIFEST.MF 0.1 kB
- castorbug2/.classpath 1.0 kB
- castorbug2/.project 0.4 kB
- castorbug2/build.properties 0.2 kB
- castorbug2/build.xml 6 kB
- castorbug2/etc/castorbuilder.properties 3 kB
- castorbug2/etc/customcastor.properties 0.2 kB
- castorbug2/README.txt 3 kB
- castorbug2/src/.../castorbug/CastorBug.java 0.2 kB
- castorbug2/src/.../CastorBugTest.java 1 kB
- castorbug2/xmlschema/.../1.2/consumer.xsd 26 kB
- castorbug2/.../consumercrmtypes.xsd 8 kB
- castorbug2/xmlschema/.../consumertypes.xsd 41 kB
- castorbug2/xmlschema/.../1.2/crmtypes.xsd 8 kB
- castorbug2/.../customcastor.properties 0.2 kB
- castorbug2/xmlschema/.../1.2/decision.xsd 2 kB
- castorbug2/xmlschema/.../decisiontypes.xsd 3 kB
- castorbug2/xmlschema/.../EAIDataTypes.xsd 12 kB
- castorbug2/.../EAIWamuSoapExtension.xsd 6 kB
- castorbug2/.../TransactionStatus.xsd 0.8 kB
- castorbug2/.../EDEWamuSoapExtension.xsd 2 kB
-
Hide
- castorbug-nsmap.zip
- 16/Apr/07 7:11 PM
- 25 kB
- David M. Karr
-
- META-INF/MANIFEST.MF 0.1 kB
- castorbug2/.classpath 0.5 kB
- castorbug2/.project 0.4 kB
- castorbug2/build.properties 0.4 kB
- castorbug2/build.xml 6 kB
- castorbug2/etc/castorbuilder.properties 3 kB
- castorbug2/etc/customcastor.properties 0.2 kB
- castorbug2/README.txt 3 kB
- castorbug2/src/.../castorbug/CastorBug.java 0.5 kB
- castorbug2/xmlschema/.../1.2/consumer.xsd 26 kB
- castorbug2/.../consumercrmtypes.xsd 8 kB
- castorbug2/.../consumerservice.wsdl 19 kB
- castorbug2/xmlschema/.../consumertypes.xsd 41 kB
- castorbug2/xmlschema/.../1.2/crmtypes.xsd 8 kB
- castorbug2/xmlschema/.../1.2/decision.xsd 2 kB
- castorbug2/xmlschema/.../decisiontypes.xsd 3 kB
- castorbug2/xmlschema/.../EAIDataTypes.xsd 12 kB
- castorbug2/.../EAIWamuSoapExtension.xsd 6 kB
- castorbug2/.../TransactionStatus.xsd 0.8 kB
- castorbug2/.../EDEWamuSoapExtension.xsd 2 kB
-
- patch.c1934.20070430.txt
- 30/Apr/07 10:28 AM
- 1 kB
- Werner Guttmann
Issue Links
- is depended upon by
-
CASTOR-1965
Subtype overrides unmarshal with illegal override
-
- relates to
-
CASTOR-1986
castor fails to include import statement for externally defined types
-
-
CASTOR-1864
Enumeration classes generated without base package
-