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

Dennis Sosnoski closed JIBX-223.
--------------------------------


> Mapping of 0/1 values to Boolean produces unexpected results
> ------------------------------------------------------------
>
>                 Key: JIBX-223
>                 URL: http://jira.codehaus.org/browse/JIBX-223
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>    Affects Versions: JiBX 1.1.5
>         Environment: Windows XP, JIBX 1.1.5 and JIBX 1.1.6a
>            Reporter: Jennifer Gau
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.2
>
>
> In XML a •boolean• can have the following legal
> literals {true, false, 1, 0}.  However, when mapping 1
> to a Boolean (the object), I expect the value to be
> true, but the value is actually set to false.  After
> debugging through the method calls, it appears that
> when using a Boolean, the Boolean constructor is
> called [public Boolean(String s)] and that only
> compares for the strings true/false not 0 and 1.
> This was posted to the newsgroup at:  
> http://www.mail-archive.com/[email protected]/msg02973.html  
> We tried running this test on the JIBX 1.1.6a version, and still see the 
> problem

-- 
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

       

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to