Thanks for the reply. But I still have some problems. I have written the .xsdconfig file. Using this I can over ride the name of the class. But I am not able to override the name of the properties in the class. Can you guys please let me know how to do the same. A sample file if any would do a world of good.

 

Thanks again for the reply.

 

Regards

Kashyap

 

-----Original Message-----
From: Christophe Bouhier (MC/ECM) [mailto:[EMAIL PROTECTED]
Sent:
Thursday, December 08, 2005 7:01 PM
To: '[email protected]'
Subject: RE: Using XML Beans to convert XSD to java classes

 

I read somewhere it's doing this to "pretty up" the user defined types.

I think you can override this behaviour by hacking the .xsdconfig file.

this is explained here:

 

 

Cheers / Christophe
p.s. Why is there no document for xsdconfig on the xmlbeans webpage? Took me ages to find the link above.


From: Kashyap [mailto:[EMAIL PROTECTED]
Sent: 08 Disember 2005 21:07
To: [email protected]
Subject: Using XML Beans to convert XSD to java classes

Hi all,

         I am using XML Beans to generate java classes from an XSD. I am facing a problem in the same. When ever I generate the java classes, all the element names which have underscore in their name have been changed by removing underscore.  For example if there is a Complex element called “A_B”. Then the java class generated will have the name “AB” instead of “A_B” Why is xmlbeans eating up the underscore. Any solution for this. Please help guys. Pretty urgent.

 

Thanks in advance

 

Regards

Kashyap

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

 

Reply via email to