You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "James L Welch (JIRA)" <ji...@apache.org> on 2018/07/19 16:59:00 UTC

[jira] [Created] (DAFFODIL-1969) Exception on unparse of string with fixed length

James L Welch created DAFFODIL-1969:
---------------------------------------

             Summary: Exception on unparse of string with fixed length
                 Key: DAFFODIL-1969
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1969
             Project: Daffodil
          Issue Type: Bug
          Components: DFDL Schemas
    Affects Versions: 2.1.0
         Environment: Windows 7, Daffodil 2.1.0
            Reporter: James L Welch
             Fix For: 2.1.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)