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

MultiFileSchema: Cyclical import provides bad diagnostic message: doesn't say it is a cycle.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: s7
    • Fix Version/s: 1.1.0
    • Component/s: Front End
    • Labels:
      None

      Description

      As you expected, a cyclical import was not caught and results in a loop of the following output:

      2013-02-20 06:54:43:665 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://stepSchema.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/debug-classes/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_step.dfdl.xsd.]
      2013-02-20 06:54:43:701 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://baseSchema.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/debug-classes/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_base.dfdl.xsd.]
      2013-02-20 06:54:43:736 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://stepSchema.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/debug-classes/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_step.dfdl.xsd.]
      2013-02-20 06:54:43:766 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://baseSchema.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/debug-classes/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_base.dfdl.xsd.]
      2013-02-20 06:54:43:800 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://stepSchema.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/debug-classes/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_step.dfdl.xsd.]
      2013-02-20 06:54:43:828 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://baseSchema.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/debug-classes/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_base.dfdl.xsd.]

      etc....

      The schemas are
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_base.dfdl.xsd
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/cycle_step.dfdl.xsd

      and the test (multifile_cyclical) is found in:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/namespaces.tdml

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jchab Jessie Chab
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks