static XmlPositiveInteger buildPosInteger(XmlAnySimpleType value)
{
BigInteger bigInt = buildBigInt(value);
try
{
XmlPositiveIntegerImpl i = new XmlPositiveIntegerImpl();
i.set(bigInt);
i.setImmutable();
return i;
}
catch (XmlValueOutOfRangeException e)
{
StscState.get().error("Internal error processing number", XmlErrorContext.MALFORMED_NUMBER, value);