Hello,

I am using Castor, and have created a XSD using the ant task in castor. 
Problem is, when Castor generates Java files (marshalling) files, they are 
of type long (primitive that is) and I would like Long java.langLong that 
is. Object types would be the way I would like to go.

I tried changing the xsd and leaving out the "type" but then I have 
java.lang.Object. 

Can I somehow get Long to work with Castor or XSD?

<element name="foo" type="long" /> = long primtive
<element name="foo" /> = object type

would like Long in the java file that Castor creates.

Thanks,




CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended 
recipient and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If you are not the intended 
recipient, any disclosure, distribution or other use of this e-mail message or 
attachments is prohibited. If you have received this e-mail message in error, 
please delete and notify the sender immediately. Thank you.

Reply via email to