You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2020/12/16 21:13:00 UTC
[jira] [Updated] (DAFFODIL-1509) 7-bit Encoding accepts too many
character codes
[ https://issues.apache.org/jira/browse/DAFFODIL-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Beckerle updated DAFFODIL-1509:
------------------------------------
Issue Type: New Feature (was: Bug)
> 7-bit Encoding accepts too many character codes
> -----------------------------------------------
>
> Key: DAFFODIL-1509
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1509
> Project: Daffodil
> Issue Type: New Feature
> Components: Back End
> Reporter: Steve Lawrence
> Priority: Minor
>
> The current 7-bit charset accepts any character code that fits in 7 bits (i.e. 0-127). However, the file specification that led the creation of the 7-bit charset does not allow for most of the non-visible characters. The codes that are not allowed are 0-9, 11, 12, and 14-31. We either need to modify our 7-bit encoder and decoder to not allow these character codes and return a malformed error, or we should create a new 7-bit charset specific to this file format and it's 7-bit restrictions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)