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 & Issue Please help urgent

Post new topic  Reply to topic
 XML & Issue Please help urgent « View previous topic :: View next topic » 
Author Message
AmitNy
PostPosted: Mon Aug 19, 2002 6:45 am    Post subject: XML & Issue Please help urgent Reply with quote

Newbie

Joined: 27 Jul 2002
Posts: 5

Hi MQSI Guru's

We are trying to parse XML Data, which has & ,< ,',"" as Data characters
Example
<generic>
<DATA>&sdjhsdjhdj|&shshsh</DATA></generic>
IN MQSI, XML Parser throws an error, So If Anyone had faced same problem please help me.

We wants to assingn DATA tag to some other data field.

Thanks for your help in advance
Back to top
View user's profile Send private message
kolban
PostPosted: Mon Aug 19, 2002 7:50 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

To the best of my knowledge, an XML document that contains those characters is ... well .. not an XML document. Those characters are invalid in the format you have shown. The data should contain "&" definitions for these entities.

I think you might need to look at the PCDATA technique in XML.
Back to top
View user's profile Send private message
warrenpage
PostPosted: Mon Aug 19, 2002 9:55 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2002
Posts: 56
Location: Australia

Your XML should look like

<generic><DATA>&amp;sdjhsdjhdj|&amp;shshsh</DATA></generic>

the &amp; should be replaced by an actual & (or at least make the XML valid)

Check here for more info

http://www.zvon.org./xxl/XMLTutorial/General/contents.html
http://www.zvon.org./xxl/XMLTutorial/Output/example8.html

http://www.w3.org/TR/2000/REC-xml-20001006
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML & Issue Please help urgent
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.