We should allow for quite a large number of digits for packed decimal
numbers. Enough to allow for the full numeric range of the type in the
case of xs:unsignedLong for example it's quite a bit more than 64
bits.
For xs:nonNegativeInteger and xs:decimal and xs:integer, I think we
should allow at l
While working on https://github.com/apache/daffodil/pull/1391 I was
attempting to create a range check test for packed decimal and I noticed that
attempting to represent INT_MAX (2,147,483,647) would require at least 5 bytes
(6 with sign byte). However, having a schema element with type="xs:i