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

Error for an undefined ignoreCase property not properly propagated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: s10
    • Component/s: None
    • Labels:
      None

      Description

      When creating the multi-file schema tests, I was working through a failing test, filling in properties as the runner complained that they were missing. I got to a point where this was my error:


      2013-02-21 04:51:50:104 edu.illinois.ncsa.daffodil.compiler.ProcessorFactory Error [Compilation (DataProcessor) reports 1 compile errors/warnings.]
      2013-02-21 04:51:50:107 edu.illinois.ncsa.daffodil.compiler.ProcessorFactory Error [Schema Definition Error: Property ignoreCase is not defined.
      Searched these locations: List(element.super_seq::complexType::sequence::element.ref.seq::element.seq::complexType::sequence::element.ref.inty::dfdl:element, element.super_seq::complexType::sequence::element.ref.seq::element.seq::complexType::sequence::element.ref.inty::element.inty::dfdl:element)
      Searched these default locations: List(). Schema context: element.inty. Location in file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_C_02.dfdl.xsd]

      [info] - test_double_nesting_01 *** FAILED ***
      [info] java.lang.Exception:
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:477)
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:372)
      [info] at edu.illinois.ncsa.daffodil.tdml.TestCase.run(TDMLRunner.scala:326)
      [info] at edu.illinois.ncsa.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:198)
      [info] at edu.illinois.ncsa.daffodil.section06.namespaces.TestNamespaces.test_double_nesting_01(TestNamespaces.scala:67)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [info] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [info] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [info] at java.lang.reflect.Method.invoke(Method.java:601)
      [info] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

      Note that the error listed in gray "Schema Definition Error: Property ignoreCase is not defined" is not propagated through to the red error text, and instead an empty exception is displayed. I have only seen this issue with the ignoreCase property. See test double_nesting_01 in
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section06/namespaces/TestNamespaces.scala

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks