[ https://issues.apache.org/jira/browse/DAFFODIL-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Adams resolved DAFFODIL-1956. ---------------------------------- Resolution: Fixed Assignee: Dave Thompson (was: Josh Adams) This issue has been fixed in commit ea2d135676b2eb6b7a9a63783a93495d24207b6c > Terminator with leading space causes assertion failure > ------------------------------------------------------ > > Key: DAFFODIL-1956 > URL: https://issues.apache.org/jira/browse/DAFFODIL-1956 > Project: Daffodil > Issue Type: Bug > Components: Front End > Affects Versions: 2.1.0 > Reporter: Steve Lawrence > Assignee: Dave Thompson > Priority: Major > Labels: beginner > Fix For: 2.4.0 > > > User reported that dfdl:terminator=" %LF;" causes the following exception, > likely due to the space at the beginning of property value. If this property > (and likely others) start or end with a space, it should probably be an SDE, > since they probably meant to do something like dfdl:terminator="%SP;%LF;". > Exception below: > {code} > Exception in thread "main" java.lang.AssertionError: assertion failed > at scala.Predef$.assert(Predef.scala:156) > at > org.apache.daffodil.processors.dfa.CreateDelimiterDFA$.buildTransitions(CreateDelimiterDFA.scala:119) > at > org.apache.daffodil.processors.dfa.CreateDelimiterDFA$.apply(CreateDelimiterDFA.scala:56) > at > org.apache.daffodil.processors.dfa.CreateDelimiterDFA$.apply(CreateDelimiterDFA.scala:69) > at > org.apache.daffodil.processors.dfa.CreateDelimiterDFA$$anonfun$apply$1.apply(CreateDelimi…fun$apply$1.apply(CreateDelimiterDFA.scala:88) > at > scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) > at > scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) > at scala.collection.immutable.List.foreach(List.scala:381) > at scala.collection.TraversableLike$class.map(TraversableLike.scala:234) > at scala.collection.immutable.List.map(List.scala:285) > at > org.apache.daffodil.processors.dfa.CreateDelimiterDFA$.apply(CreateDelimiterDFA.scala:88) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)