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

MultiFileSchema: SDE-provided context and location are vague

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s8
    • s7
    • None
    • None

      2013-02-21 07:28:36:914 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://a03.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_A_03.dfdl.xsd.]
      Schema Definition Error: Error loading schema(org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 81; cvc-complex-type.3.2.2: Attribute 'textNumberJustification' is not allowed to appear in element 'xs:element'.) Schema context: SchemaSet. Location in file:SchemaSet
      2013-02-21 07:28:36:993 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://b03.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_B_03.dfdl.xsd.]
      2013-02-21 07:28:37:020 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://c03.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_C_03.dfdl.xsd.]
      2013-02-21 07:28:37:061 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://d03.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_D_03.dfdl.xsd.]
      2013-02-21 07:28:37:090 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://e03.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_E_03.dfdl.xsd.]
      2013-02-21 07:28:37:132 edu.illinois.ncsa.daffodil.dsom.Import Info [Imported Schema Namespace: http://f03.com from location file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu/illinois/ncsa/daffodil/section06/namespaces/multi_F_03.dfdl.xsd.]
      2013-02-21 07:28:37:196 edu.illinois.ncsa.daffodil.compiler.Compiler Error [Compilation (ProcessorFactory) produced 1 errors/warnings.]
      2013-02-21 07:28:37:197 edu.illinois.ncsa.daffodil.compiler.Compiler Error [Schema Definition Error: Error loading schema(org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 81; cvc-complex-type.3.2.2: Attribute 'textNumberJustification' is not allowed to appear in element 'xs:element'.) Schema context: SchemaSet. Location in file:SchemaSet]

      [info] - test_testing *** FAILED ***
      [info] java.lang.Exception: Schema Definition Error: Error loading schema(org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 81; cvc-complex-type.3.2.2: Attribute 'textNumberJustification' is not allowed to appear in element 'xs:element'.) Schema context: SchemaSet. Location in file:SchemaSet
      [info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:473)
      [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_testing(TestNamespaces.scala:72)
      [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)

      There seem to be a few issues with this error message, as you outline in your e-mail.

      The test "testing" is in the following location:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/namespaces.tdml
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section06/namespaces/TestNamespaces.scala

              dthompson David Thompson
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: