Thank you Steve and Mike. Truly excellent information you've given me. I think there is a key lesson learned, which I have tried to capture below. Do you agree with the lesson learned? Is there anything you would add to it? /Roger
* type="xs:int" dfdl:length="4" does not mean this: The input must contain precisely 4 digits representing an integer. * Rather, it means this: The input must contain 4 characters representing an integer. If the 4 characters are not all digits, then you must inform Daffodil how to interpret those 4 characters. That is the purpose of dfdl:textNumberPattern.
