You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2020/09/23 18:54:12 UTC

[GitHub] [incubator-daffodil] mbeckerle commented on a change in pull request #415: Expand the diagnostic message for dfdl:checkConstraints(.)

mbeckerle commented on a change in pull request #415:
URL: https://github.com/apache/incubator-daffodil/pull/415#discussion_r493821079



##########
File path: daffodil-core/src/main/scala/org/apache/daffodil/dpath/Conversions.scala
##########
@@ -273,7 +273,7 @@ object Conversion {
           polymorphicExpressionDiagnostics(st, tt, context)
         context.SDE(
           "In expression %s, the type %s cannot be converted to %s.%s",
-          relevantExpr.text,
+          relevantExpr.wholeExpressionText,

Review comment:
       A Step expression is one "step" in a Path expression. So foo/bar/baz/.././quux is a Path with 6 Step expressions in it. 




----------------------------------------------------------------
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:
users@infra.apache.org