-
Improvement
-
Resolution: Fixed
-
Normal
-
s15
-
None
The use of "*" to denote "all children" is not supported in the DPath implementation. Tests that attempt to use this currently fail with a Schema Definition Error, but the diagnostic message is vague and not entirely helpful.
[error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_asterisk_02 failed: java.lang.Exception: Did not find diagnostic message "unsupported" in any of the actual diagnostic messages:
|
[error] Schema Definition Error: Unable to parse expression. Message: `}' expected but `/' found
|
[error] Next: /* }.
|
See tests
test_asterisk_01
test_asterisk_02
in the following files:
daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/expressions.tdml
- relates to
-
DFDL-1111 Inadequate diagnostic message from DPath Expression parser
- Reopened