You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Peter Katlic (Jira)" <ji...@apache.org> on 2023/07/12 19:01:00 UTC
[jira] [Created] (DAFFODIL-2834) Fix NumberformatException message in hexCharToValue
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)