You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2018/07/19 18:22:00 UTC
[jira] [Assigned] (DAFFODIL-1969) Exception on unparse of string
with explicit length and truncateSpecifiedLengthString="yes"
[ https://issues.apache.org/jira/browse/DAFFODIL-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Lawrence reassigned DAFFODIL-1969:
----------------------------------------
Assignee: Steve Lawrence
> Exception on unparse of string with explicit length and truncateSpecifiedLengthString="yes"
> -------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-1969
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1969
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Affects Versions: 2.1.0
> Environment: Windows 7, Daffodil 2.1.0
> Reporter: James L Welch
> Assignee: Steve Lawrence
> Priority: Minor
> Fix For: 2.2.0
>
> Attachments: AppTable.xml, TFconfigSYS.dfdl.xsl, appTable.cfg, u.bat
>
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 64
> <xs:element name="AppParms" type="xs:string" dfdl:lengthKind="explicit" dfdl:length="64" dfdl:textOutputMinLength="64" />
> Removed dfdl:textOutputMinLength - same error
> Attached file AppTable.cfg is the original binary file {color:#FF0000}parsed{color} into AppTable.xml
> Unparsing gives exception on first AppParms element
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)