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

Redefining a format should cause duplicate definition error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: s12
    • Fix Version/s: deferred
    • Component/s: Diagnostics, Usability
    • Labels:
      None

      Description

      When a format is redefined an error should occur informing of the duplicate definition. Currently, if there is a defineFormat using the same name as an existing format (i.e. daffodilTest1) there is no error and the newly defined format is not used.

      See test redefinedFormat:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section05/simple_types/WhiteSpace.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section05/simple_types/TestSimpleTypes2.scala

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks

                  Progress: 
                   0/0