An error message is seen when importing dynamic COBOL copybook in TIBCO designer: The content of elements must consist of well-formed character data or markup.

An error message is seen when importing dynamic COBOL copybook in TIBCO designer: The content of elements must consist of well-formed character data or markup.

book

Article ID: KB0088201

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for Websphere MQ -
Not Applicable -

Description

Resolution:
Description:
=========
The error occurs while importing a dynamic COBOL copybook with component IDs defined as special characters such as ‘$’, ‘&’ etc.

Environment:
=========
All

Symptoms:
========
COBOL copybook import fails with above error message

Cause:
=====
TIBCO designer use the standard (default) property management mechanism using Java to map property names to methods that read or write them. But the special character, such as '$','&', is not legal for the java method name. So, special characters can not be used as the component IDs in a COBOL copybook.

Resolution:
========
Provide valid characters as component IDs in the COBOL copybook and re-import.

Issue/Introduction

An error message is seen when importing dynamic COBOL copybook in TIBCO designer: The content of elements must consist of well-formed character data or markup.