ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Having navigation problem with XMLNSC parser

Post new topic  Reply to topic
 Having navigation problem with XMLNSC parser « View previous topic :: View next topic » 
Author Message
JoseCallejas
PostPosted: Mon Jan 29, 2007 11:55 am    Post subject: Having navigation problem with XMLNSC parser Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Mon Jan 29, 2007 1:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Fri Feb 02, 2007 1:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Having navigation problem with XMLNSC parser
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.