Even if you are not going to validate when parsing, put in facets .....So that you can turn it on validation if you want.
..... So that you can use the dfdl schema as an xml schema on corresponding xml documents. Ex to validate them before unparsing. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Costello, Roger L. <[email protected]> Sent: Thursday, April 18, 2019 4:45:02 AM To: [email protected] Subject: Best practice with regard to XSD facets and the --validation flag? Hello DFDL community, In Mike’s most recent post he recommended (among other things) this: 1. Put in all the facets you have. 2. Use --validate off or limited. But, but, but, … if --validate off is used, then the facets are ignored. So why bother with facets if you are going to use --validate off? /Roger
