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

DPath: Decreased precision - Compile Time vs Runtime SDE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • s15
    • None
    • Diagnostics, Usability
    • None

    Description

      From Mike: Yeah, this is a decrease of precision, but the new DPath implementation changes came with some loss of proper categorization. Basically, some areas where the code was clearly compilation time or clearly runtime have been replaced by common code that is used in both cases, and that code issues an SDE. Nothing recaptures this and converts it into a "Runtime" SDE currently.

      So I'd say it's a bug that we've lost this precision, because I like having the separation where SDEs that are detected to occur at runtime are explicitly identified. But the DFDL spec doesn't say when anything has to be detected.

      So if we view the test as testing the DFDL spec requirement, then making the test less precise is ok. If we view the test as verifying our desired behavor for Daffodil, then the loss of precision is a bug.

      I suppose really there are two tests then.... I would prefer not to fix this particular issue right away however.

      Changes in diagnostic behavior are probably the biggest observable places where behavior will have changed

      Associated test(s):
      test_variableRefError

      Attachments

        Activity

          People

            Unassigned Unassigned
            daffodil-jchab Jessie Chab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: