in reply to Re: EDIFACT - edi - Validator
in thread EDIFACT - edi - Validator

Thanks Laurent R
I tried with some simple edi errors and opening/parsing a file - but it didn't throw any error. Also parse is not returning anything (I believe).

Replies are listed 'Best First'.
Re^3: EDIFACT - edi - Validator
by RonW (Parson) on Aug 16, 2016 at 18:50 UTC

    Not returning anything is a failure suggesting that the document is invalid. Unfortunately, it's not telling what or where the problem is.

    Of course, as GotToBTru pointed out, between any 2 trading partners, what is and isn't valid might not match what is agreed upon with another trading partner. (And even when the right technical people are involved in the negotiations, the Golden Rule1 applies.)

    I'd start from known valid documents to verify the EDI parser you are trying to use can actually parse them correctly. If you can't find a parser that works for the documents you need it to process, you may have to write your own.


    1 "He who has the gold makes the rules."