Hi smooks users,
I am trying to parse following EDI text with syntaxIdentifier value as KECA and syntaxVersion as 1.
UNB+KECA:1+QW:KL+FT:KL+240216:1347+20240216134624'UNH+1+APERAK:D:00A:UN'BGM+294+cgch++1'DTM+137:202402161346:203'DOC+938:::VATDEC'RFF+ACE:cgch'RFF+wd:1'RFF+ws:E'NAD+MS+we'NAD+MR+wd'ERC+ER:E'FTX+AAP+++cgch:(30¿.():'UNT+12+1'UNZ+1+20240216134624'
The parser get stuck into infinite loop showing following error:
o.s.cartridges.dfdl.parser.DfdlParser : Parse Error: Initiator 'UNB' not found
Schema context: UNB Location line 41 column 18 in .../79fhtzkj5hn6b9ysd7tnpb840000gp/T/3600218453299886676/EDIFACT-Interchange-b3a0e203-3bc4-38a0-8862-3630bd0a2d55.dfdl.xsd
Data location was preceding byte 62
Any leads? How can i prevent smooks from entering into infinite loop apart from the validation check for the syntaxIdentifier and syntaxVersion.
Also, why its working for syntaxIdentifier value as KECA and syntaxVersion as 4. I can see in the EDIFACT-Service-Segments-4.1.dfdl.xsd that the SyntaxIdentifier does not have KECA.