Hi Daffodil community, Is there a way to pull out the assert validation message from org.apache.daffodil.japi.Diagnostic without having to resort to regex? For example, if run this code:
List<Diagnostic> diagnostics = ...; Diagnostic diagnostic = diagnostics.get(0); System.out.println(diagnostic.getMessage()); The following is printed: Validation Error: *My validation message* Schema context: element reference D03B:OUTORD Location line 89 column 31 in /tmp/3406381247300519120/EDIFACT-Interchange-ae1cbc28-d4ff-35f3-99cb-f9e0915197e1.dfdl.xsd Data location was preceding byte 130 I'd like only to print "My validation message". A Smooks community member had reported this issue a while back and now I'm hitting the same problem. Thanks, Claude
