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 parsing question

Post new topic  Reply to topic
 XML parsing question « View previous topic :: View next topic » 
Author Message
wbiman
PostPosted: Tue Jan 25, 2005 12:23 pm    Post subject: XML parsing question Reply with quote

Voyager

Joined: 13 Jul 2004
Posts: 84

Hi Friends,

I have one doubt regarding XML messageset parsing....can anyone helps me ....

I have created the messageset with DTD that contains 2 tag elements.
<XML>
<TAG1>1</TAG1>
<TAG2>2</TAG2>
</XML>

and if send input message , I only send one tag
<XML>
<TAG1>1</TAG1>
</XML>
Now what gona happen? Is I am going to get parsing error or it will let go through with any errors

please help
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 25, 2005 1:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It depends on what you set in the model, as to whether the model will allow for optional items or not.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wbiman
PostPosted: Tue Jan 25, 2005 1:32 pm    Post subject: help Reply with quote

Voyager

Joined: 13 Jul 2004
Posts: 84

So that means if I select the <TAG2> as required and if I send input message without <TAG2> ....It will give me parsing errors ?

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 25, 2005 1:45 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You won't get parsing errors as long as it is valid XML.

You will get validation errors.
_________________
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 » XML parsing question
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.