Given an EDIFACT message snippet, using standard delimiters, with that content :
AAA?BBB
How should it be rendered ?
AAABBB
or
AAA?BBB
To me, the UN specification is unclear on this point :
УФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФХФФФФФФФФФФФФФФФХФФФФФФФФФФФФД Г Release character Г Г Г Г (To release any of the charac- Г ? Г Г Г ters + ; ' ? appearing in user Г(question mark)Г NOT USED Г Г data in Level A syntax. Г Г Г Г It MUST immediately precede Г Г Г Г the character in question Г Г Г Г and signifies that the NEXT Г Г Г Г single character is not to Г Г Г Г be interpreted as a syntax Г Г Г Г separator, terminator, or Г Г Г Г release character.) Г Г Г РФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФФСФФФФФФФФФФФФФФФСФФФФФФФФФФФФй
It states that it is used to release certain character, but what to do when the following character is not a special one ?
It would normally be rendered as AAA?BBB. The question mark is allowed in UNOB syntax set but not in UNOA. Unless it escapes a delimiter, it is considered part of the contents.
In the unusual case where the B is a delimiter, let's say a component delimiter, then it will be rendered as AAAB, assuming that by rendering you mean the contents after applying the delimiters