mbeckerle commented on pull request #463:
URL: 
https://github.com/apache/incubator-daffodil/pull/463#issuecomment-733925743


   A good thing to do with this (and the prior) PR that provide schematron, is 
to fix the JPEG schema that is published on github to use this new feature.  
Version 1 would incorporate that JPEG schema's existing ".sch" schematron rules 
file. Version 2 would migrate those rules up into the DFDL schema itself, where 
IMHO, they belong.  
   
   Without the schematron validation, that DFDL JPEG schema is known to be very 
poor at rejecting bad data. It's the specific example where we learned it is 
very important to make DFDL schemas not only parse correct data, but reject 
invalid and/or malformed data. Without the schematron rules, this JPEG schema 
accepts all sorts of malformed stuff. This more powerful validator in this case 
enforces, not only validity, but well-formedness even. 


----------------------------------------------------------------
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