Rational Developer for System z

Mapping XML attributes to COBOL with Compiled XML Conversion

This topic describes certain limitations and features that apply when XML attributes are mapped to COBOL data structures with compiled XML conversion in the meet-in-middle scenario.

The information in this topic applies only to XML to COBOL mapping of XML attributes (not XML to PL/I) and applies whenever the development scenario is meet-in-middle and the conversion type is Compiled XML Conversion.

The following limitations and features apply:
  1. XML attributes contained by repeating leaf XML elements cannot be mapped to nonrepeating elementary language structure members.
  2. XML attributes contained by repeating, leaf XML elements, can be mapped to elementary language structure members that are contained by a group with equal or greater repetitions.
    Note: Dimensions of parent elements and groups must also meet this criteria.
  3. XML elements with "mixed" content, mixed="true", are not eligible to be mapped to any language structure member. For a detailed discussion, refer to XML attribute support limitation.
  4. An XML attribute can be mapped to a COBOL ODO (occurs depending on) object only when the attribute is contained by an XML element that appears before the XML element that is mapped to the corresponding COBOL ODO subject.

Feedback