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 » Unable to Process URL Encoded XML Elements in a Compute Node

Post new topic  Reply to topic
 Unable to Process URL Encoded XML Elements in a Compute Node « View previous topic :: View next topic » 
Author Message
albitkw
PostPosted: Thu May 05, 2005 5:49 am    Post subject: Unable to Process URL Encoded XML Elements in a Compute Node Reply with quote

Novice

Joined: 02 May 2005
Posts: 15
Location: Pittsburgh, PA

An XML message is received with a <DATA> element containing an URL encoded string that substitutes less than ("<"), greater than (">"), and slach ("/") characters with "%3C", "%3E", and "%2F" respectively (see example below)

The MRM parser accepts the message in the INPUT node. In a following compute node, the encoded string is visable in InputRoot.MRM.Data, but the value copied from InputRoot.MRM.Data to OutputRoot.MRM.Data becomes NULL, and attempts to copy InputRoot.MRM.Data to a local character variable also produces NULL.

Other encoded characters that are not part XML tag syntax do not cause these issues. It seems that ESQL has difficulty only with these three characters.

Is there a way in ESQL to decode the encoded characters in the <DATA> tag (like the .Net URLDECODE function, which can decode %3C, %3E, and %2F properly)? I would at least like to get to the point where InputRoot.MRM.Data can be copied to OutputRoot.MRM.Data.

It would be really great if the message could be reparsed so that the encoded tags become part of the message tree.

Before encoding:

<DATA><ext_sec_id>1202002050</ext_sec_id><DATA>

encoded as:

<DATA>%3Cext_sec_id%3E1202002050%3C%2Fext_sec_id%3E<DATA>
Back to top
View user's profile Send private message
malammik
PostPosted: Thu May 05, 2005 1:20 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

search the manual for
XML.AsisElementContent
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unable to Process URL Encoded XML Elements in a Compute Node
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.