[ 
http://jira.codehaus.org/browse/JIBX-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-291.
----------------------------------

         Assignee: Dennis Sosnoski
       Resolution: Fixed
    Fix Version/s: JiBX 1.2.2

Corrected the tables.

> java.lang.Character is not supported
> ------------------------------------
>
>                 Key: JIBX-291
>                 URL: http://jira.codehaus.org/browse/JIBX-291
>             Project: JiBX
>          Issue Type: Bug
>    Affects Versions: JiBX 1.2.1
>         Environment: JiBX 1.2.1, JDK 6
>            Reporter: Robert Novotny
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.2.2
>
>
> BindGen does not support generating binding definitions for class that 
> contains java.lang.Character instance variables.
> {noformat}
> public class LZPerson {
>   private int id;
>   private String firstName;
>   private String lastName;
>   private java.lang.Character netPassport;
> }
> {noformat}
> Running BindGen causes:
> {{Exception in thread "main" java.lang.IllegalStateException: No way to 
> handle type java.util.Character.}}
> The possible reason is the incorrect mapping from primitive types to XSD 
> types and the incorrect definition of primitive types.  They assume the class 
> java.lang.Char, however the correct primitive type wrapper is 
> java.lang.Character.
> The affected classes are:
> org.jibx.binding.BindingGenerator (s_objectPrimitiveSet)
> org.jibx.binding.SchemaGenerator (s_objectTypeMap)
> org.jibx.util.Types (s_objectTypeMap)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to