You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2023/09/07 13:18:00 UTC

[jira] [Resolved] (DAFFODIL-2834) Fix NumberformatException message in hexCharToValue

     [ https://issues.apache.org/jira/browse/DAFFODIL-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence resolved DAFFODIL-2834.
--------------------------------------
    Resolution: Fixed

Test fixed in commit 4d5f2738399470cd0ec25f3b76fe1b7ccfcb090b

> Fix NumberformatException message in hexCharToValue
> ---------------------------------------------------
>
>                 Key: DAFFODIL-2834
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2834
>             Project: Daffodil
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 3.5.0
>            Reporter: Peter Katlic
>            Assignee: Peter Katlic
>            Priority: Trivial
>             Fix For: 3.5.1
>
>
> The Misc.hex2Bytes function makes use of the hexCharToValue function, which limits character values to the numbers 0-9, capital A-F, and lowercase a-f. However, the NumberFormatException thrown for values outside of this range has the message "Hex character must be 0-9, a-z, or A-Z, but was ". This should be "Hex character must be 0-9, a-f, or A-F, but was ".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)