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

Warning about Counterintuitive placement issued when not needed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.9.0
    • Front End

    Description

      The warning "Counterintuitive placement detected. Wrap the discriminator or assert in an empty sequence to evaluate before the contents. (id: discouragedDiscriminatorPlacement)"

       

      Is issued when an assert/discriminator appears on a sequence, without regard to whether that assert/discriminator uses testKind 'expression' or 'pattern'. 

      It should be issued only for testKind 'expression'. 

      See DFDL spec Section 9.5 Evaluation Order for Statement Annotations

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: