Skip to content

Parsing failure with FUNCTION and XML GENERATE statements #15

@xwew

Description

@xwew

Hello,

Koopa seems to handle basic syntax of XML GENERATE statement, but fails to parse sub clauses such as SUPPRESS and WITH ATTRIBUTES.
Example:
027300 XML GENERATE X910-I-DATA FROM W-K-GET-ANROP
027400 COUNT IN X910-I-LEN
027500 WITH ATTRIBUTES
027600 NAME W-K-GET-ANROP IS 'ns_GET'
027701 TYPE W-K-JSON-PATH IS ELEMENT
027710 SUPPRESS WHEN LOW-VALUES
027720 END-XML

Using double subscripted variables as arguments of a FUNCTION call will cause a parsing failure.
Example:
COMPUTE TEST0 = FUNCTION MIN(VVV(I,J), VVV(I))

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions