Checking For Trailing Empty Elements


    Checking For Trailing Empty Elements

    Some EDI files are considered incorrect if they contain trailing empty data elements or trailing empty composite data elements.  EDIValidator automatically checks for this occurrence and a validation error is generated if empty trailing data elements are found.

    An example of a trailing empty data element is:


    This segment should have been written as:
    The EDIDocument component automatically removes trailing empty data elements when creating EDI documents.


    ediValidator.CheckForEmptyTrailingElements = true;
    in EDI Validator
    Did this article answer your question?