Hi Bob. On 28/09/2018 04:45, Robert Hanson wrote: > The transpiler is created all we need for Marshalling and Unmarshalling. Sounds good ! > The only problem is BigInteger. JAXB is using that for www3 types > integer and positiveInteger. > > It looks to me like Jalview is just using those to encode standard int > values. So I don't know why, but OK, that's the way it is, so we need > to implement that. I think in JavaScript we could get away with simple > Integer here. It, like BigInteger, has .intValue() and .valueOf(int). Not entirely sure where you're seeing this, but I suspect simply using javascript Integer as a mapping may bite us at some point in the future. We should move to something like https://developers.google.com/web/updates/2018/05/bigint as soon as its widely supported.
Jim. -- ------------------------------------------------------------------- Dr JB Procter, Jalview Coordinator, The Barton Group Division of Computational Biology, School of Life Sciences University of Dundee, Dundee DD1 5EH, UK. +44 1382 388734 | www.jalview.org | www.compbio.dundee.ac.uk
_______________________________________________ Jalview-dev mailing list [email protected] http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev
