You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Alex Paransky <ap...@standardset.com> on 2004/03/27 00:12:56 UTC

No constants defined for Enumerations of type long or int

Dear XmlBeaners:

We are compiling a schema which contains enumerations.  We noticed that 
constants are only generated for String type enumerations, but not for 
int or long.  Because of this, we had to define our own constants in a 
separate .java file.  This is troublesome since changes to the .xsd will 
not update the constants file. 

Is there a way to force XmlBeans compiler to generate constants for all 
types of enumerations.

Thanks.

-- 
-AP_
http://www.myprofiles.com/member/profile/apara_personal
http://www.myprofiles.com/member/profile/apara_business



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/