abap-file-formats-tools icon indicating copy to clipboard operation
abap-file-formats-tools copied to clipboard

Transformation Generator does not escape special characters

Open wurzka opened this issue 10 months ago • 0 comments

XML cannot handle special characters such as '<' and '>'. The generator does not escape these characters which leads to syntax errors in the generated transformation when having an enum/constant like

begin of co_enum_values
   less_than type c length 1 value '<',
   greater_thean type c length 1 value '>',
end of co_enum_values.

A solution would be to replace < with &#60 and > with &#62 in the generated transformation.

wurzka avatar Jan 27 '25 12:01 wurzka