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



##########
File path: daffodil-runtime2/src/main/resources/examples/NestedUnion.c
##########
@@ -361,7 +361,8 @@ data_parseSelf(data *instance, PState *pstate)
         bar_parseSelf(&instance->bar, pstate);
         break;
     default:
-        pstate->error_msg = "node's _choice field was not initialized during 
parsing";
+        pstate->error_msg =
+            "Parse error: no match between choice dispatch key and any branch 
key";

Review comment:
       Ah. I think I'm incorrect here. This is parse, so we're determining if 
there is a choice branch key match here. So this is a regular Processing/Parse 
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