Menu

#52 Grammar issue with XML GENERATE

v1.0 (example)
closed-fixed
nobody
5
2015-03-09
2015-02-05
Inaki GE
No

Hi,
I have detected a grammar issue in Koopa. The "XML GENERATE" transaction, used as way of externalizing the content of a data structure in XML format, is not beiing considered by the grammar.

Here you have a real example of the lines of a file that are the cause of the problem:

[...]
004354 XML GENERATE FWP05-DES-DATOS FROM mensaje
004355 COUNT IN W-CONTADOR
004356 WITH ENCODING W-ENCODING
004357 WITH XML-DECLARATION
[...]

If you need further information do not hesitate to contact me.

Regards.

Discussion

  • KrisDS

    KrisDS - 2015-02-08

    I extended the grammar in [r205] based on some guesswork from your example.

    If you have some documentation on this form of the XML GENERATE statement I would appreciate a link or share.

    In any case, please let me know if this works for you.

     

    Related

    Commit: [r205]

  • KrisDS

    KrisDS - 2015-02-09

    Thanks for that. I extended the grammar a bit more to cover the XML GENERATE statement to a larger extent.

     
  • KrisDS

    KrisDS - 2015-02-09
    • status: open --> closed-fixed
     
  • Inaki GE

    Inaki GE - 2015-03-05

    Hi,
    I don't know why but I have tested the latest version of Koopa and XML GENERATE issue has reappeared.
    Find attached the Cobol file with the issue so that you can check it.
    Thanks.

     
  • KrisDS

    KrisDS - 2015-03-06
    • status: closed-fixed --> open
     
  • KrisDS

    KrisDS - 2015-03-06

    It does surprise me that this only showed up in the latest version. I fixed it in [r220], but it seems unrelated to anything I have been working on recently...

    In any case, please let me know if this also resolves the issue on your side.

     

    Related

    Commit: [r220]

  • Inaki GE

    Inaki GE - 2015-03-09

    Hi,
    Issues with XML GENERATE have been solved ;-)

    Thanks.

     
  • KrisDS

    KrisDS - 2015-03-09
    • status: open --> closed-fixed
     

Log in to post a comment.