You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Dave Thompson (JIRA)" <ji...@apache.org> on 2018/10/01 11:30:00 UTC

[jira] [Closed] (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 ]

Dave Thompson closed DAFFODIL-1969.
-----------------------------------

Pulled latest updates from incubator-daffodil repository which included specified commit, 0872aa27743a30279353dc30523e7ee1b568cdfd.

Verified daffodil builds and executes all sbt tests successfully, including the associated test case added in the specified commit.

Verified changes specified in the commit comment.

All nightly tests also executed successfully.

> 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)