Skip to main content
Dominique Sacre
Rocketeer
Mar 8, 2022 7:21 PM UTC

XML parse verb won't ignore empty attributes

Dear all,

We just converted our zOS cobol version 4 into Micro Focus COBOL  V6.0 revision 000 on Linux.   the XML PARSE won't accept empty attributes. Do we need to test for xml-text length, or is there a setting to tell the parser to ignore empty attributes?

Thanks James 

    2 replies

    Thomas Morrison
    Participating Frequently
    Mar 8, 2022 9:22 PM UTC

    Dear all,

    We just converted our zOS cobol version 4 into Micro Focus COBOL  V6.0 revision 000 on Linux.   the XML PARSE won't accept empty attributes. Do we need to test for xml-text length, or is there a setting to tell the parser to ignore empty attributes?

    Thanks James 

    I think you are in the wrong forum.  This is for RM/COBOL, which is not Micro Focus COBOL v6.

    Tom Morrison, Consultant, South Carolina, USA
    Dominique Sacre
    Rocketeer
    Mar 9, 2022 12:25 PM UTC

    I think you are in the wrong forum.  This is for RM/COBOL, which is not Micro Focus COBOL v6.

    thanks Tom :-)