[
https://issues.apache.org/jira/browse/DAFFODIL-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Adams reassigned DAFFODIL-1091:
------------------------------------
Assignee: Dave Thompson (was: Josh Adams)
> NumberFormatException when Unbounded element in unordered sequence
> ------------------------------------------------------------------
>
> Key: DAFFODIL-1091
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1091
> Project: Daffodil
> Issue Type: Bug
> Components: Front End, General
> Reporter: Jessie Chab
> Assignee: Dave Thompson
> Priority: Major
> Fix For: 2.5.0
>
>
> If I create an unordered sequence of optional elements, where maxOccurs =
> "unbounded", I get the following error:
> [error] Test
> edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_count_05b
> failed: edu.illinois.ncsa.daffodil.exceptions.Abort:
> java.lang.NumberFormatException: For input string: "unbounded"
> [error] at
> edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue.edu$illinois$ncsa$daffodil$dsom$oolag$OOLAG$OOLAGValue$$oolagTryCatch(OOLAG.scala:485)
> [error] at
> edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue$$anonfun$4.apply(OOLAG.scala:568)
> [error] at
> edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGHost.circularityDetector(OOLAG.scala:265)
> [error] at
> edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue.valueAsAny(OOLAG.scala:552)
> [error] at
> edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV.value(OOLAG.scala:650)
> [error] at
> edu.illinois.ncsa.daffodil.grammar.Prod.gram$lzycompute(Grammar.scala:262)
> See test count_05b in the following files:
> /resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
> /scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
> /scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala
--
This message was sent by Atlassian Jira
(v8.3.4#803005)