You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by mriedo <ri...@gmx.ch> on 2008/06/10 11:57:15 UTC

XMLBeans: Mapping xsd:int to Java Integer?

hello,

I have the following problem with the XMLBean xsd:int to Java Mapping:

An xsd:int element maps to the Java type int, in the normal case this
mapping is ok. But when the xsd:int element is defined as nilable="true" or
minoccurs="0" shouldn't it be mapped to the Java Class Integer (because
there is no null value for Java int)? 
Is there a way to change the XMLBean mapping to the Integer Class in that
case?

thanks for your help!

-- 
View this message in context: http://www.nabble.com/XMLBeans%3A-Mapping-xsd%3Aint-to-Java-Integer--tp17751742p17751742.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org