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 » XML null element

Post new topic  Reply to topic
 XML null element « View previous topic :: View next topic » 
Author Message
AkankshA
PostPosted: Fri Feb 02, 2007 12:03 am    Post subject: XML null element Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Hi

env --> WBIMB v6 Oracle 9i

My input message contains following 2 tags in the body
<x:element/>
<x:element1>abc</x:element1>

In debug mode the tree shows me
....element
....element1 = abc

Now if i try to access the value of element1 it gives me something like /n/t/t/t

this gets converted to |||| when inserted in oracle...


seems like a bug to me..
Has anyone faced this before???
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Fri Feb 02, 2007 12:28 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Akanksha,

Does this input message of yours contain '\n' (new line)....If yes, then what parser are u using...you should use XMLNSC...or remove all the \n,\t to make the text one line...

Regards.
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Fri Feb 02, 2007 12:56 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

I am using XMLNSC..

as i understand it should take the value of first element as null and second element as abc

the funniest observation here is
it takes the value of first element as \n\t\t\t\t\t (\n - new line character
5 \t - used for indentation in xml message before send element tag)
if i remove the indentation of xml message forcefully then it takes only \n
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Fri Feb 02, 2007 1:32 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Akanksha,

Please post the file trace of the incoming message, and your code.

Regards.
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Fri Feb 02, 2007 1:35 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Hi Akanksha

This is not your fault - you've encountered a known defect in XMLNSC. 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 » XML null element
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.