Error while unmarshalling  empty elements
-----------------------------------------

                 Key: JIBX-459
                 URL: https://jira.codehaus.org/browse/JIBX-459
             Project: JiBX
          Issue Type: Bug
          Components: core
    Affects Versions: JiBX 1.2.3
         Environment: Windows 7/JIBX
            Reporter: Siva nk


I have an element as follows in binding file

<value style="element" name="id" get-method="getId" set-method="setId" 
ordered="false" usage="optional"/>

Its a long datatype.

In XML it shows up as empty tag

<ns1:id/>

While unmarshalling I am getting NumberFormatException. 

If i remove the blank tag it works fine. 

Same for other datatypes. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to