regetom edited a comment on pull request #481:
URL: https://github.com/apache/daffodil/pull/481#issuecomment-804826415


   I removed the call to testRaw from DelimiterCookerNoSoleES.  I had to define 
noCharClassEntities() otherwise the compile complained that "contexct" and 
"raw" did not exist.  The test 
org.apache.daffodil.section06.entities.TestEntities.test_emptyStringEntityTermInExpressionDelimited_01
 still fails.  The error message seems to indicate the logic is still flowing 
through DelimeterCookerNoES instead of DeilitimerCookerNoSoleEs.  Here is the 
relevant error message from the log;
   [info] Test 
org.apache.daffodil.section06.entities.TestEntities.test_emptyStringEntityTermInExpressionDelimited_01
 started
   [error] Test 
org.apache.daffodil.section06.entities.TestEntities.test_emptyStringEntityTermInExpressionDelimited_01
 failed: org.apache.daffodil.tdml.TDMLExceptionImpl: (Implementation: daffodil) 
Did not find diagnostic message "dfdl:lengthKind="delimited"" in any of the 
actual diagnostic messages: 
   [error] Schema Definition Error: Property dfdl:terminator contains 
disallowed character class(es): %ES;
   [error] Schema context: ex:value Location line 1217 column 12 in 
file:/tmp/EmptyStringEntityInExpressionDelimited5351926126395074609.dfdl.xsd, 
took 0.116 sec
   [error]     at 
org.apache.daffodil.tdml.TDMLException$.apply(TDMLException.scala:31)
   [error]     at 
org.apache.daffodil.tdml.VerifyTestCase$.$anonfun$verifyAllDiagnosticsFound$4(TDMLRunner.scala:1564)
   [error]     at 
org.apache.daffodil.tdml.VerifyTestCase$.$anonfun$verifyAllDiagnosticsFound$4$adapted(TDMLRunner.scala:1553)
   [error]     at scala.collection.immutable.List.foreach(List.scala:392)
   [error]     at 
org.apache.daffodil.tdml.VerifyTestCase$.verifyAllDiagnosticsFound(TDMLRunner.scala:1553)
   [error]     at 
org.apache.daffodil.tdml.TestCase.checkDiagnosticMessages(TDMLRunner.scala:811)
   [error]     at 
org.apache.daffodil.tdml.ParserTestCase.runParseExpectErrors(TDMLRunner.scala:928)
   [error]     at 
org.apache.daffodil.tdml.ParserTestCase.$anonfun$runProcessor$4(TDMLRunner.scala:856)
   [error]     at 
org.apache.daffodil.tdml.ParserTestCase.$anonfun$runProcessor$4$adapted(TDMLRunner.scala:853)
   [error]     at scala.util.Either$RightProjection.foreach(Either.scala:652)
   [error]     at 
org.apache.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:853)
   [error]     at org.apache.daffodil.tdml.TestCase.run(TDMLRunner.scala:796)
   [error]     at 
org.apache.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:386)
   [error]     at 
org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:144)
   [error]     at 
org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:150)
   [error]     at 
org.apache.daffodil.section06.entities.TestEntities.test_emptyStringEntityTermInExpressionDelimited_01(TestEntities.scala:98)
   [error]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
   [error]     at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [error]     at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [error]     at java.lang.reflect.Method.invoke(Method.java:566)
   [error]     ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to