Allow Excess Trailing Delimiters

The schema validation process allows data that contains excess trailing delimiters on sequence groups.

You can change the default setting for the Allow Excess Trailing Delimiters property to No so that the schema validation process, instead, fails data that contains excess trailing delimiters.

The schema validation process interprets a delimited sequence group that contains optional components at the end of its sequence, as having excess trailing delimiters.

For example, GROUPA contains the following components: COMPA (mandatory) , COMPB (optional) , COMPC (optional), and COMPD (optional). The group is infix-delimited by a tilde. The following data stream examples are valid for GROUPA:

A~B~C~D
A~B~C~
A~B~~
A~~~

For this example, you want the schema validation process to disallow all of the data stream examples that contain unnecessary or excess trailing delimiters. To disallow the excess trailing delimiters, you can change the setting for the Allow Excess Trailing Delimiters property to No. The result is that the validation process fails all of the examples except the first one.