The transpiler is created all we need for Marshalling and Unmarshalling. The only problem is BigInteger. JAXB is using that for www3 types integer and positiveInteger.
Thus, a first pass could just be setting an equivalence
java.math.BigInteger = Integer.
at least for these purposes. This is really easy – we just add that to the .j2s j2s.class.replacements list.
Then the code to actually do these tasks should be quite trivial.
Robert M. Hanson
Professor of Chemistry
St. Olaf College
If nature does not answer first what we want,
it is better to take what answer we get.
– Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900