BigInteger I = BigInteger.valueOf(3);
Random rnd = new Random(2);
for (int i = 1; i < 200; ++i) {
assertXML("<root>"+I+"</root>", writeIntegerElemDoc("root", I));
assertXML("<a attr='"+I+"'></a>", writeIntegerAttrDoc("a", "attr", I));
I = I.multiply(BigInteger.valueOf(10)).add(BigInteger.valueOf(rnd.nextInt() & 0xF));
}
}
public void testBigDecimal()
throws XMLStreamException