Output contains \n characters

Issue #14 wontfix
Danny Roessner created an issue

When calling QXMLSERV.iPLUG512K(?, ?, ?, ?) using Run SQL Scripts (I used https://bitbucket.org/litmis/nodejs-itoolkit/src/master/test/rpg/zzcall.rpgle to test with) the output has newline characters after every <parm> and <data> tag. Can these unnecessary characters be removed?

Comments (5)

  1. Ji Mo Account Deactivated

    @droessner x'25' is added for a few types of tags. And it is hardcoded for the output fromat for more human readable.. no flag to turn addLF off. I think the common parsers should have the abilities to handle LF, whitespaces and etc. Would it break something?

  2. Danny Roessner reporter

    @JiMoJiMo No, this does not break anything. It's just adding unnecessary bytes to the output.

  3. Ji Mo Account Deactivated

    Since the functionality is fine, not seeing a strong need to re-work all the LF code lines.

  4. Log in to comment