The term "isomorphic" (as used here) means the following:
- Each composed element (in other words, an element containing other elements)
of the XML instance document starting from the root has one and only one corresponding
COBOL group item whose nesting depth is identical to the nesting depth of
its XML equivalent
and
- Each non-composed element (in other words, an element that does not contain
other elements) in the XML instance document starting from the top has one
and only one corresponding COBOL elementary item whose nesting depth is identical
to the nesting level of its XML equivalent and whose memory address at run
time can be uniquely identified.
The mapping tools define all other COBOL language structure/XML instance
document pairs as non-isomorphic structures.
Isomorphic simple mapping is a simple mapping of COBOL items and
XML elements that have both of the following properties:
- They belong to XML documents and COBOL groups that are identical in shape
(isomorphic)
- With respect to the location of the structure, the mapping relates two
isomorphic elements.
Isomorphic mapping can also exist between isomorphic subsets of otherwise
non-isomorphic structures.
Non-isomorphic simple mapping is a simple mapping of COBOL items
and XML elements belonging to XML documents and COBOL groups that are not
identical in shape (non-isomorphic). Non-isomorphic mapping can also be created
between non-isomorphic elements of isomorphic structures.
Mapping between non-isomorphic structures can be isomorphic if it maps
corresponding elements of isomorphic subsets.
Both isomorphic and non-isomorphic simple mapping are supported for request and response mapping. For
examples of isomorphic and non-isomorphic mapping in Isomorphic and non- isomorphic
element mapping, see XML to COBOL mapping reference.