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 and ExceptionList details...

Post new topic  Reply to topic
 XML parsing and ExceptionList details... « View previous topic :: View next topic » 
Author Message
Testo
PostPosted: Tue May 25, 2004 6:10 am    Post subject: XML parsing and ExceptionList details... Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

If I parse an XML message and it does not fit against a dtd or a schema, does the ExceptionList contain any detail related to the specific tag/element that caused the exception?

Thanks,
Andrea Tedone
Back to top
View user's profile Send private message Send e-mail MSN Messenger
JT
PostPosted: Tue May 25, 2004 7:03 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Yes. For instance a BIP5004 error message (caused by a badly-formed XML message) displays the following information:
Quote:
XML parsing error (<insert_4>) encountered on line <insert_2> column <insert_3> while parsing element <insert_5>.
.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed May 26, 2004 12:09 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

BIP5004 is really concerned with badly-formed XML, rather than DTD or schema validation. However, the answer is the same - you do get information about where the error occurred in almost all cases.
Back to top
View user's profile Send private message
Testo
PostPosted: Wed May 26, 2004 12:42 am    Post subject: Thanks Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

Thank you JT and kimbert for your useful replies.

Cheers,
Testo
Back to top
View user's profile Send private message Send e-mail 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 parsing and ExceptionList details...
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.