|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Having navigation problem with XMLNSC parser |
« View previous topic :: View next topic » |
Author |
Message
|
JoseCallejas |
Posted: Mon Jan 29, 2007 11:55 am Post subject: Having navigation problem with XMLNSC parser |
|
|
Newbie
Joined: 29 Jan 2007 Posts: 3
|
hi,
I have the next message:
<msg>
<field1>AAAAA</field1>
<field2>BBBBB</field2>
<field3/>
<field4/>
<field5>CCCCC</field5>
</msg>
Then when i debug my flow, the message representation that i receive is:
-Message
-Properties
-MQMD
-XMLNSC
-msg
-field1=AAAAA
-field2=BBBBB
-field3
-field4
-field5=CCCCC
When i try to get the field3 value from a compute node with the next ESQL statement:
DECLARE TEST CHAR;
SET TEST =InputRoot.XMLNSC.msg.field3
The value for TEST that i get is 'BBBBB'
the same happens when i try to get the fiel4 value, i get the same value : 'BBBBB'
If i use the ESQL:
SET TEST =InputRoot.XMLNSC.msg.(XMLNSC.Field)field4 ;
i get the right value (NULL).
Is it the expected behavior from XMLNS parser?
i need to use the statement :(XMLNSC.Field),(XMLNSC.Attribute) to access the data node?
Because the same problem arise too when i use msgmap to save some data on a DataBase:
field4InDatabase <-------------->$source/msg/field4
the value that i got saved in the database is BBBBB instead of NULL.
and in this case i didn't find any solution.
i'll appreciate some help to clarify this situation. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jan 29, 2007 1:34 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Your message flow is correct. You have encountered a known defect in the XMLNSC parser. A fix is on its way. In the mean time, the best workaround is to use XMLNS instead of XMLNSC. |
|
Back to top |
|
 |
kimbert |
Posted: Fri Feb 02, 2007 1:42 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
If you raise a PMR you can get an IFix for this. You should ask for a test fix for PMR 12211,999,866. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|