Peter Katlic created DAFFODIL-2834:
--------------------------------------

             Summary: 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


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)

Reply via email to