[
https://issues.apache.org/jira/browse/DAFFODIL-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-1969.
--------------------------------------
Resolution: Fixed
Fixed in 0872aa27743a30279353dc30523e7ee1b568cdfd
> 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)