Exception while unmarshalling Integer with an element bigger than 32-bit

Brent Putman putmanb at georgetown.edu
Wed Jun 6 21:29:38 BST 2012



On 6/6/12 3:23 PM, Chad La Joie wrote:
> "JAXB does it" isn't an argument that carries a great deal of weight
> with me, as you know.

Yes, I know, but it is the "official" Java-XML binding spec, so that at
least means something to some segment of the technical community.

> I doubt you'll find much.  If you're going to go arbitrary precision
> Big[Integer|Decimal] is what you end up with, so why reinvent the wheel?

True, I suppose.

>
> For our code, above xmltooling, what we probably should consider is
> whether we should just unmarshall that data in to java.lang.String.  I'm
> not aware of any place where there would be the assumption that you
> could perform arithmetic operations on the data.

Yes, that's also a possibility to consider. 


More information about the users mailing list