-
Bug
-
Resolution: Fixed
-
Normal
-
s15
-
None
-
None
NOTE: this issue is with the "serializatoin-with-dpath2" branch, not the current 0.15.0 branch.
I wrote a test for the function ends-with that I expect to return false because the string it is checking for uses a different case than the original string. (Original string is "The quick brown fox." but it is checking if it ends with "The quick BROWN fox.") Instead of getting true or false though, this test returned an empty element. This was not a problem when the function returns true. It also only seems to be a problem when the function references other elements.
See test:
test_endswith_06
In files:
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala