Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1477

ES now allowed in terminator - causes a test to fail now.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • deferred
    • 2.0.0
    • Back End, General
    • None

      In accordance with the DFDL v1.0 spec change to terminator,
      If we remove the check for %ES; from the code for terminator, then test
      test_entity_fail_03 fails with:

      Parse Error: Term('CompiledExpression(: %ES') - element.a: Found delimiter (,) for element.root::LocalComplexTypeDef::sequence when looking for Term(<DFA lookingFor=':' /> <DFA lookingFor='%ES;' /> <DFA lookingFor=',' />) for element.root::LocalComplexTypeDef::sequence::element.a before element.b
      Schema context: element.a Location line 100 column 12 in file:/tmp/sch39093359406659818781.dfdl.xsd
      Data location was preceding byte 1 limit(bytes) 3

      It isn't handling the case where the separator of the sequence is found, not the terminator, because one of the list of terminators is ES, which effectively makes that terminator optional.

      We may simply want to put back in the restriction that prohibits ES from terminators altogether.

      For now I have moved this test to scala-debug

              Unassigned Unassigned
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: