-
Bug
-
Resolution: Fixed
-
Major
-
s7
-
None
-
None
I've been basing my timezone tests off of the working copy of the spec (gwdrp-dfdl-v1.0.3-r010.04.01.changes-marked.pdf), and have had problems with the following formats so far:
v - Time Zone: generic non-location - PT, Pacific Time
Error seen:
[info] - test_timeZoneFormats3 *** FAILED ***
[info] java.lang.Exception:
[info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:479)
[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_timeZoneFormats3(TestSimpleTypes.scala:92)
[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)
zzz - Time Zone: specific non-location - PDT, Pacific Daylight Time
[info] - test_timeZoneFormats2 *** FAILED ***
[info] java.lang.Exception: Parse Error: Convert to Time (for xs:time): Failed to parse '08:43.Eastern Standard Time' at character 6 .
[info] Schema context: element.time04 Location line 2158 column 178 in file:/home/jchab/NGF/dfdl/daffodil-test/target/scala-2.9.2/test-classes/edu.illinois.ncsa.daffodil/section05/simple_types/SimpleTypes.tdml
[info] Data location was preceding byte 27
[info] UTF-8 text starting at byte 24 is: (ime)
[info] Data (hex) starting at byte 24 is: (0x696D65)
[info] at edu.illinois.ncsa.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:486)
[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_timeZoneFormats2(TestSimpleTypes.scala:91)
[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)
tests are
timeZoneFormats2
timeZoneFormats3
timeZoneFormats4
in
daffodil-test/src/test/resources/edu.illinois.ncsa.daffodil/section05/simple_types/SimpleTypes.tdml
daffodil-test/src/test/scala-debug/edu.illinois.ncsa.daffodil/section05/simple_types/TestSimpleTypes2.scala