You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Olabusayo Kilo (Jira)" <ji...@apache.org> on 2022/10/11 13:35:00 UTC

[jira] [Comment Edited] (DAFFODIL-2211) Poor handling when dfdlx:repType is a built-in xsd type

    [ https://issues.apache.org/jira/browse/DAFFODIL-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614711#comment-17614711 ] 

Olabusayo Kilo edited comment on DAFFODIL-2211 at 10/11/22 1:34 PM:
--------------------------------------------------------------------

Ran into a similar error with the example detailed in the csv* files. We were creating a simple enumeration example with a xs:unsignedLong reptype and a xs:string enum

 

Stack trace
{noformat}
java.util.NoSuchElementException: None.get    at scala.None$.get(Option.scala:529)
    at scala.None$.get(Option.scala:527)
    at org.apache.daffodil.grammar.primitives.TypeValueCalc.repTypeUnparser$lzycompute(PrimitivesExpressions.scala:310)
    at org.apache.daffodil.grammar.primitives.TypeValueCalc.repTypeUnparser(PrimitivesExpressions.scala:310)
    at org.apache.daffodil.grammar.primitives.TypeValueCalc.unparser$lzycompute(PrimitivesExpressions.scala:322)
    at org.apache.daffodil.grammar.primitives.TypeValueCalc.unparser(PrimitivesExpressions.scala:318)
    at org.apache.daffodil.runtime1.GramRuntime1Mixin.maybeUnparser(GramRuntime1Mixin.scala:57)
    at org.apache.daffodil.runtime1.GramRuntime1Mixin.maybeUnparser$(GramRuntime1Mixin.scala:54)
    at org.apache.daffodil.grammar.Gram.maybeUnparser$lzycompute(GrammarTerm.scala:51)
    at org.apache.daffodil.grammar.Gram.maybeUnparser(GrammarTerm.scala:51)
    at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eRepTypeUnparser$lzycompute(ElementCombinator.scala:405)
    at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eRepTypeUnparser(ElementCombinator.scala:405)
    at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser$lzycompute(ElementCombinator.scala:338)
    at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser(ElementCombinator.scala:333)
    at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser$lzycompute(ElementCombinator.scala:134)
    at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser(ElementCombinator.scala:109)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.grammar.primitives.SequenceChild.childUnparser$lzycompute(SequenceChild.scala:72)
    at org.apache.daffodil.grammar.primitives.SequenceChild.childUnparser(SequenceChild.scala:72)
    at org.apache.daffodil.grammar.primitives.SequenceChild.optSequenceChildUnparser$lzycompute(SequenceChild.scala:84)
    at org.apache.daffodil.grammar.primitives.SequenceChild.optSequenceChildUnparser(SequenceChild.scala:83)
    at org.apache.daffodil.grammar.primitives.OrderedSequence.$anonfun$unparser$2(SequenceCombinator.scala:100)
    at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:293)
    at scala.collection.Iterator.foreach(Iterator.scala:943)
    at scala.collection.Iterator.foreach$(Iterator.scala:943)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
    at scala.collection.IterableLike.foreach(IterableLike.scala:74)
    at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
    at scala.collection.TraversableLike.flatMap(TraversableLike.scala:293)
    at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:290)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
    at org.apache.daffodil.grammar.primitives.OrderedSequence.unparser$lzycompute(SequenceCombinator.scala:100)
    at org.apache.daffodil.grammar.primitives.OrderedSequence.unparser(SequenceCombinator.scala:84)
    at org.apache.daffodil.grammar.primitives.DelimiterStackCombinatorSequence.unparser$lzycompute(DelimiterAndEscapeRelated.scala:43)
    at org.apache.daffodil.grammar.primitives.DelimiterStackCombinatorSequence.unparser(DelimiterAndEscapeRelated.scala:43)
    at org.apache.daffodil.grammar.SeqComp.$anonfun$unparserChildren$2(Grammar.scala:99)
    at scala.collection.immutable.List.map(List.scala:297)
    at org.apache.daffodil.grammar.SeqComp.unparserChildren$lzycompute(Grammar.scala:98)
    at org.apache.daffodil.grammar.SeqComp.unparserChildren(Grammar.scala:92)
    at org.apache.daffodil.grammar.SeqComp.unparser$lzycompute(Grammar.scala:105)
    at org.apache.daffodil.grammar.SeqComp.unparser(Grammar.scala:104)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.grammar.primitives.DelimiterStackCombinatorElement.unparser$lzycompute(DelimiterAndEscapeRelated.scala:80)
    at org.apache.daffodil.grammar.primitives.DelimiterStackCombinatorElement.unparser(DelimiterAndEscapeRelated.scala:79)
    at org.apache.daffodil.runtime1.GramRuntime1Mixin.maybeUnparser(GramRuntime1Mixin.scala:57)
    at org.apache.daffodil.runtime1.GramRuntime1Mixin.maybeUnparser$(GramRuntime1Mixin.scala:54)
    at org.apache.daffodil.grammar.Gram.maybeUnparser$lzycompute(GrammarTerm.scala:51)
    at org.apache.daffodil.grammar.Gram.maybeUnparser(GrammarTerm.scala:51)
    at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eUnparser$lzycompute(ElementCombinator.scala:401)
    at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eUnparser(ElementCombinator.scala:401)
    at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser$lzycompute(ElementCombinator.scala:338)
    at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser(ElementCombinator.scala:333)
    at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser$lzycompute(ElementCombinator.scala:134)
    at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser(ElementCombinator.scala:109)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.grammar.primitives.SequenceChild.childUnparser$lzycompute(SequenceChild.scala:72)
    at org.apache.daffodil.grammar.primitives.SequenceChild.childUnparser(SequenceChild.scala:72)
    at org.apache.daffodil.grammar.primitives.SequenceChild.optSequenceChildUnparser$lzycompute(SequenceChild.scala:84)
    at org.apache.daffodil.grammar.primitives.SequenceChild.optSequenceChildUnparser(SequenceChild.scala:83)
    at org.apache.daffodil.grammar.primitives.OrderedSequence.$anonfun$unparser$2(SequenceCombinator.scala:100)
    at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:293)
    at scala.collection.Iterator.foreach(Iterator.scala:943)
    at scala.collection.Iterator.foreach$(Iterator.scala:943)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
    at scala.collection.IterableLike.foreach(IterableLike.scala:74)
    at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
    at scala.collection.TraversableLike.flatMap(TraversableLike.scala:293)
    at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:290)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
    at org.apache.daffodil.grammar.primitives.OrderedSequence.unparser$lzycompute(SequenceCombinator.scala:100)
    at org.apache.daffodil.grammar.primitives.OrderedSequence.unparser(SequenceCombinator.scala:84)
    at org.apache.daffodil.grammar.primitives.DelimiterStackCombinatorSequence.unparser$lzycompute(DelimiterAndEscapeRelated.scala:43)
    at org.apache.daffodil.grammar.primitives.DelimiterStackCombinatorSequence.unparser(DelimiterAndEscapeRelated.scala:43)
    at org.apache.daffodil.grammar.SeqComp.$anonfun$unparserChildren$2(Grammar.scala:99)
    at scala.collection.immutable.List.map(List.scala:297)
    at org.apache.daffodil.grammar.SeqComp.unparserChildren$lzycompute(Grammar.scala:98)
    at org.apache.daffodil.grammar.SeqComp.unparserChildren(Grammar.scala:92)
    at org.apache.daffodil.grammar.SeqComp.unparser$lzycompute(Grammar.scala:105)
    at org.apache.daffodil.grammar.SeqComp.unparser(Grammar.scala:104)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.runtime1.GramRuntime1Mixin.maybeUnparser(GramRuntime1Mixin.scala:57)
    at org.apache.daffodil.runtime1.GramRuntime1Mixin.maybeUnparser$(GramRuntime1Mixin.scala:54)
    at org.apache.daffodil.grammar.Gram.maybeUnparser$lzycompute(GrammarTerm.scala:51)
    at org.apache.daffodil.grammar.Gram.maybeUnparser(GrammarTerm.scala:51)
    at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eUnparser$lzycompute(ElementCombinator.scala:401)
    at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eUnparser(ElementCombinator.scala:401)
    at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser$lzycompute(ElementCombinator.scala:338)
    at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser(ElementCombinator.scala:333)
    at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser$lzycompute(ElementCombinator.scala:134)
    at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser(ElementCombinator.scala:109)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:97)
    at org.apache.daffodil.grammar.Prod.unparser(Production.scala:89)
    at org.apache.daffodil.runtime1.SchemaSetRuntime1Mixin.$anonfun$unparser$1(SchemaSetRuntime1Mixin.scala:83)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.liftedTree1$1(OOLAG.scala:679)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny$lzycompute(OOLAG.scala:677)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny(OOLAG.scala:674)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValue.value$lzycompute(OOLAG.scala:724)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValue.value(OOLAG.scala:724)
    at org.apache.daffodil.runtime1.SchemaSetRuntime1Mixin.unparser(SchemaSetRuntime1Mixin.scala:82)
    at org.apache.daffodil.runtime1.SchemaSetRuntime1Mixin.unparser$(SchemaSetRuntime1Mixin.scala:82)
    at org.apache.daffodil.dsom.SchemaSet.unparser$lzycompute(SchemaSet.scala:94)
    at org.apache.daffodil.dsom.SchemaSet.unparser(SchemaSet.scala:94)
    at org.apache.daffodil.runtime1.SchemaSetRuntime1Mixin.$anonfun$$init$$2(SchemaSetRuntime1Mixin.scala:38)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.liftedTree1$1(OOLAG.scala:679)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny$lzycompute(OOLAG.scala:677)
    at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny(OOLAG.scala:674)
    at org.apache.daffodil.oolag.OOLAG$OOLAGHost.$anonfun$checkErrors$2(OOLAG.scala:427)
    at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
    at org.apache.daffodil.oolag.OOLAG$.keepGoing(OOLAG.scala:65)
    at org.apache.daffodil.oolag.OOLAG$OOLAGHost.checkErrors(OOLAG.scala:427)
    at org.apache.daffodil.oolag.OOLAG$OOLAGHost.checkErrors$(OOLAG.scala:413)
    at org.apache.daffodil.dsom.SchemaComponentImpl.checkErrors(SchemaComponent.scala:34)
    at org.apache.daffodil.oolag.OOLAG$OOLAGHost.isError(OOLAG.scala:484)
    at org.apache.daffodil.oolag.OOLAG$OOLAGHost.isError$(OOLAG.scala:483)
    at org.apache.daffodil.dsom.SchemaSet.isError(SchemaSet.scala:543)
    at org.apache.daffodil.compiler.ProcessorFactory.isError(Compiler.scala:136)
    at org.apache.daffodil.compiler.Compiler.org$apache$daffodil$compiler$Compiler$$compileSourceInternal(Compiler.scala:419)
    at org.apache.daffodil.compiler.Compiler$.org$apache$daffodil$compiler$Compiler$$compileSourceSynchronizer(Compiler.scala:461)
    at org.apache.daffodil.compiler.Compiler.compileSource(Compiler.scala:404)
    at org.apache.daffodil.tdml.processor.TDMLDFDLProcessorFactory.compileProcessor(DaffodilTDMLDFDLProcessor.scala:147)
    at org.apache.daffodil.tdml.processor.TDMLDFDLProcessorFactory.getProcessor(DaffodilTDMLDFDLProcessor.scala:164)
    at org.apache.daffodil.tdml.TDMLCompileResultCache.getCompileResult(TDMLRunner.scala:2692)
    at org.apache.daffodil.tdml.DFDLTestSuite.getCompileResult(TDMLRunner.scala:532)
    at org.apache.daffodil.tdml.TestCase.run(TDMLRunner.scala:840)
    at org.apache.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:442)
    at org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:213)
    at org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:219)
    at com.tresys.csv.TestCSV.test_csv_test_4(TestCSV.scala:53)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
    at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
    at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
    at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
    at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
    at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
    at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54){noformat}


was (Author: okilo@tresys.com):
Ran into a similar error with the example detailed in the csv* files. We were creating a simple enumeration example with a xs:unsignedLong reptype and a xs:string enum

> Poor handling when dfdlx:repType is a built-in xsd type
> -------------------------------------------------------
>
>                 Key: DAFFODIL-2211
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2211
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>    Affects Versions: 2.4.0
>            Reporter: Brandon Sloane
>            Assignee: Steve Lawrence
>            Priority: Minor
>         Attachments: TestCSV.scala, b.dfdl.xsd, c.dfdl.xsd, csv.tdml, csvDetailed.dfdl.xsd, simpleCSVDetailed.csv, simpleCSVDetailed.xml
>
>
> Attached are two cases, both of which contain:
> {quote}<xs:simpleType name="SomeEnumType" dfdlx:repType="xs:unsignedByte">
>  <xs:restriction base="xs:unsignedShort">
>  <xs:enumeration value="55" dfdlx:repValues="0" />
>  <xs:enumeration value="56" dfdlx:repValues="1" />
>  <xs:enumeration value="57" dfdlx:repValues="2" />
>  </xs:restriction>
> </xs:simpleType>
> {quote}
> In some cases this could potentially make sense (eg. when the document format is such that unsignedByte is automatically 8 bits), but we probably want to disallow this entirely.
> In b.dfdl.xsd, the entire document is using representation='text'. This fails with a somewhat reasonable error:
> {quote}[error] Schema Definition Error: Type UnsignedShort with dfdl:representation='text' cannot have dfdl:lengthKind='implicit'
> Schema context: element reference tns:a Location line 1 in file:/home/bsloane/Documents/incubator-daffodil/test/test/b.dfdl.xsd
> [error] Schema Definition Error: Type UnsignedShort cannot have lengthKind='implicit' when representation='text'
> Schema context: element reference tns:a Location line 1 in file:/home/bsloane/Documents/incubator-daffodil/test/test/b.dfdl.xsd
> {quote}
> in c.dfdl.xsd, the document is useing representation='binary', and fails with an unhandled exception:
> {quote}!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!   An unexpected exception occurred. This is a bug!   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>  Please report this bug and help us fix it:
>   https://daffodil.apache.org/community/#issue-tracker
>  Please include the following exception, the command you ran, and any input, schema, or tdml files used that led to this bug.
> java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:349) at scala.None$.get(Option.scala:347) at org.apache.daffodil.grammar.primitives.TypeValueCalc.repTypeUnparser$lzycompute(PrimitivesExpressions.scala:264) at org.apache.daffodil.grammar.primitives.TypeValueCalc.repTypeUnparser(PrimitivesExpressions.scala:264) at org.apache.daffodil.grammar.primitives.TypeValueCalc.unparser$lzycompute(PrimitivesExpressions.scala:276) at org.apache.daffodil.grammar.primitives.TypeValueCalc.unparser(PrimitivesExpressions.scala:272) at org.apache.daffodil.grammar.Gram.maybeUnparser(GrammarTerm.scala:146) at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eRepTypeUnparser$lzycompute(ElementCombinator.scala:421) at org.apache.daffodil.grammar.primitives.ElementCombinatorBase.eRepTypeUnparser(ElementCombinator.scala:421) at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser$lzycompute(ElementCombinator.scala:332) at org.apache.daffodil.grammar.primitives.ElementParseAndUnspecifiedLength.unparser(ElementCombinator.scala:327) at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser$lzycompute(ElementCombinator.scala:143) at org.apache.daffodil.grammar.primitives.ElementCombinator.unparser(ElementCombinator.scala:119) at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:92) at org.apache.daffodil.grammar.Prod.unparser(Production.scala:84) at org.apache.daffodil.grammar.Prod.unparser$lzycompute(Production.scala:92) at org.apache.daffodil.grammar.Prod.unparser(Production.scala:84) at org.apache.daffodil.compiler.ProcessorFactory.$anonfun$unparser$1(Compiler.scala:106) at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.liftedTree1$1(OOLAG.scala:549) at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny$lzycompute(OOLAG.scala:547) at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny(OOLAG.scala:544) at org.apache.daffodil.oolag.OOLAG$OOLAGValue.value$lzycompute(OOLAG.scala:594) at org.apache.daffodil.oolag.OOLAG$OOLAGValue.value(OOLAG.scala:594) at org.apache.daffodil.compiler.ProcessorFactory.unparser$lzycompute(Compiler.scala:105) at org.apache.daffodil.compiler.ProcessorFactory.unparser(Compiler.scala:105) at org.apache.daffodil.compiler.ProcessorFactory.$anonfun$new$4(Compiler.scala:127) at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.liftedTree1$1(OOLAG.scala:549) at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny$lzycompute(OOLAG.scala:547) at org.apache.daffodil.oolag.OOLAG$OOLAGValueBase.valueAsAny(OOLAG.scala:544) at org.apache.daffodil.oolag.OOLAG$OOLAGHost.$anonfun$checkErrors$2(OOLAG.scala:286) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at org.apache.daffodil.oolag.OOLAG$.keepGoing(OOLAG.scala:60) at org.apache.daffodil.oolag.OOLAG$OOLAGHost.checkErrors(OOLAG.scala:286) at org.apache.daffodil.oolag.OOLAG$OOLAGHost.checkErrors$(OOLAG.scala:277) at org.apache.daffodil.dsom.SchemaComponentImpl.checkErrors(SchemaComponent.scala:38) at org.apache.daffodil.oolag.OOLAG$OOLAGHost.isError(OOLAG.scala:345) at org.apache.daffodil.oolag.OOLAG$OOLAGHost.isError$(OOLAG.scala:344) at org.apache.daffodil.compiler.ProcessorFactory.super$isError(Compiler.scala:141) at org.apache.daffodil.compiler.ProcessorFactory.$anonfun$isError$3(Compiler.scala:141) at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:12) at org.apache.daffodil.oolag.OOLAG$.keepGoing(OOLAG.scala:60) at org.apache.daffodil.compiler.ProcessorFactory.$anonfun$isError$1(Compiler.scala:132) at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:12) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58) at org.apache.daffodil.ExecutionMode$.$anonfun$usingCompilerMode$1(ExecutionMode.scala:64) at org.apache.daffodil.compiler.ProcessorFactory.isError(Compiler.scala:132) at org.apache.daffodil.compiler.Compiler.compileSource(Compiler.scala:359) at org.apache.daffodil.Main$.$anonfun$createProcessorFromSchema$1(Main.scala:704) at org.apache.daffodil.util.Timer$.getTimeResult(Timer.scala:76) at org.apache.daffodil.util.Timer$.getResult(Timer.scala:35) at org.apache.daffodil.Main$.createProcessorFromSchema(Main.scala:703) at org.apache.daffodil.Main$.run(Main.scala:816) at org.apache.daffodil.Main$.main(Main.scala:1351) at org.apache.daffodil.Main.main(Main.scala)
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)