I'm new to this list and somewhat new to XML.
We are using Websphere MQ to transport an XML message from a UNIX box to a
LE COBOL application on Z/OS. The XML message is built in ASCII with
encoding=UTF-8. When the MQGET is issued by the LECOBOL program the
message is converted from ASCII to EBCDIC, but the encoding declaration in
the XML message remains UTF-8. That causes the LECOBOL XML parser to
generate an exception conditon.
If the ASCII message is built with encoding=IBM-1140 the parsing will
work, but then we would have the reverse problem if the message has to be
sent to a UNIX box.
If the MQGET is done without the convert the LECOBOL program has to parse
an ASCII message, equally unappealing,
Is there a relatively standard method of handling this?
If the sending process needs to know the encoding capabilities of the
target before building the message it would appear to defeat the
universality of XML.
The information contained in this message may be CONFIDENTIAL and is for the
intended addressee only. Any unauthorized use, dissemination of the
information, or copying of this message is prohibited. If you are not the
intended addressee, please notify the sender immediately and delete this