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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.4.0
    • Back End, General
    • None

    Description

      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

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: