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 » Receive "array" xml - Parsing exception

Post new topic  Reply to topic
 Receive "array" xml - Parsing exception « View previous topic :: View next topic » 
Author Message
N
PostPosted: Thu Mar 20, 2008 7:15 pm    Post subject: Receive "array" xml - Parsing exception Reply with quote

Acolyte

Joined: 21 Jul 2007
Posts: 64

Hi,

Anyone know why message broker throw parsing exception for below input message. Please help. Thanks.

input message
<msg>
<address>
<addr1>THIS IS MY ADDRESS1</addr1>
</address>
</msg>
<msg>
<address>
<addr1>THIS IS MY ADDRESS2</addr1>
</address>
</msg>

esql
SET OutputRoot.XML.msg.address1 = InputRoot.XML[1].msg.address.add1;
Back to top
View user's profile Send private message
AJStar
PostPosted: Thu Mar 20, 2008 8:37 pm    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

Your XML is not well-formed. Please validate it manually (or open in IE) and you can find out what the problem is.

N wrote:
SET OutputRoot.XML.msg.address1 = InputRoot.XML[1].msg.address.add1;


What's that, by the way??? Is it valid??
_________________
Regards
AJ
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 21, 2008 3:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please don't use XML domain. Use XMLNS (in v5) or XMLNSC (in v6 or v6.1).
_________________
I am *not* the model of the modern major general.
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 » Receive "array" xml - Parsing exception
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.