ion-python icon indicating copy to clipboard operation
ion-python copied to clipboard

Binary Reader Type Descriptor Validation

Open jonwilsdon opened this issue 5 years ago • 0 comments

There is cleanup work to be done with how ion-python validates binary Ion timestamp type descriptor 0x61 that came out of https://github.com/amzn/ion-tests/pull/57 when testing the ion-tests/iontestdata/bad/typecodes/*.10n files:

  • type_6_length_1.10n (0x61) fails with TypeError: ord() expected a character, but string of length 0 found instead of amazon.ion.exceptions.IonException: Invalid type octet: 0x61

jonwilsdon avatar Jan 07 '20 00:01 jonwilsdon