What version of MQSi is this with (& with what CSD)? Did you log this with IBM?
This doesn't appear to be a workaround for us as we have very large messages (up to 100Mb) and wouldn't want to even consider doing this?
Any other ideas/suggestions?
| "wendy.dlamini" <[EMAIL PROTECTED]>
Sent by: "MQSeries List" <[EMAIL PROTECTED]> 11-Jun-2002 13:10
|
To: MQSERIES cc: Subject: Re: XML attributes being lost/converted to tags |
Could never figure it myself.What i did is convert the attributes into elements,process elements then write output as an attribute.
Hope it helps
----- Original Message -----
From: Kulbir S. Thind
To: [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 1:11P
Subject: XML attributes being lost/converted to tags
Hi there,
I was wandering if someone could help. We're using the following configuration:
MQSI 2.0.2
CSD 3
Windows NT 4 SP 6a
MQSeries 5.2 CSD
We're sending XML messages through a flow and having problems with the XML format. When we send a message through a flow that will:
- Move a portion of the the XML message to the destination list
- Create a new XML message
- Restore the XML portion from the destination list to the outbound message
- We end up with a problem with the XML produced. For example if we send the following XML tags in the input XML message:
- <GSK.ChartOfAccounts elementName="GSK.ChartOfAccounts" language="English" action="load"><UniqueName class="java.lang.String">A00PC63020.1225.10</UniqueName></GSK.ChartOfAccounts>
- The output message produced contains the above tags in the following format:
- <GSK.ChartOfAccounts><elementName>GSK.ChartOfAccounts></elementName><language>English</language><action>load</action><UniqueName>A00PC63020.1225.10</UniqueName></GSK.ChartOfAccounts>
- The following problems exist:
- attributes are sometimes converted to tags (i.e. elementName, language, action>
- attributes are lost (i.e. class attribute for the UniqueName tag)
- Has anyone seen this before? Any suggestions?
- Regards,
- Kulbir.
*******************************************************************
This message may contain information which is confidential and subject to legal privilege. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and return and/or destroy the original message.
*******************************************************************
- Kulbir.
- Regards,
- Has anyone seen this before? Any suggestions?
- The following problems exist:
- <GSK.ChartOfAccounts><elementName>GSK.ChartOfAccounts></elementName><language>English</language><action>load</action><UniqueName>A00PC63020.1225.10</UniqueName></GSK.ChartOfAccounts>
- The output message produced contains the above tags in the following format:
- <GSK.ChartOfAccounts elementName="GSK.ChartOfAccounts" language="English" action="load"><UniqueName class="java.lang.String">A00PC63020.1225.10</UniqueName></GSK.ChartOfAccounts>
- We end up with a problem with the XML produced. For example if we send the following XML tags in the input XML message:
