Hi,
I am using Castor-codGen-1.1 to do data binding and everything work fine.
But I can't use this version because this version uses a long instead of
an int.
For example, if I have this attribute:
<xs:attribute name="numeroLivello" type="xs:positiveInteger"
use="required"/>
with castor 1.0.5 I obtain a field like this:
/**
* Field _numeroLivello
*/
private int _numeroLivello;
and with castor 1.1 I obtain a field like this:
/**
* Field _numeroLivello
*/
private long _numeroLivello;
Anothe issue is that with castor 1.0.5 I am not able to use a data
binding as castor tells me:
--Unable to load binding file 'C:\temp\binding.xml' due to the following
Exception:
--------------------------------
Stack Trace for :unable to find FieldDescriptor for 'enumBinding' in
ClassDescri
ptor of binding{file: file:///C:/temp/binding.xml; line: 9; column: 38}
So, I can use castor 1.1, but I need to maintain an 'int', or I can use
castor 1.0.5, but I need to know how use a data binding.
What can I do?
I apologize for my english!
Thank's
Barbara
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email