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

Empty Exception when you use an irrelevant format symbol in xs:date

XMLWordPrintableJSON

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

      in test datePattern02, I specified a calendarPattern of "dd MM yyyy, HH:mm:ss" on an element of type xs:date.

      I get the following error:

      [info] - test_datePattern02 *** 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.section05.simple_types.TestSimpleTypes.test_datePattern02(TestSimpleTypes.scala:52)
      [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)

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

                Created:
                Updated:
                Resolved: