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 » Exhaustive list of Schema validation errors codes and text

Post new topic  Reply to topic
 Exhaustive list of Schema validation errors codes and text « View previous topic :: View next topic » 
Author Message
Mandeep
PostPosted: Thu Jul 09, 2009 4:57 am    Post subject: Exhaustive list of Schema validation errors codes and text Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 33

I am using IA9A: XML Validator Node for schema validations. Extract from its documenation:
" The XML Validator node utilizes the Apache Xerces XML parser (see
http://xml.apache.org/xerces2-j/). When a message arrives at the input terminal, a DOMParser object is created, and a custom ErrorHandler is registered with the parser, which is used to store all errors encountered by the parser."

My requirement:
I need to maintain a DB table which can store a list of validation errors with descriptive user text, which eventually is to be passed to a Exception management GUI component.

For ex:

Error string returned by XML Validator Node: "Error: [5:24] cvc-enumeration-valid: Value 'Ms' is not facet-valid with respect
to enumeration '[Mr, Mrs, Miss, Dr]'."

should be mapped to User text:

"The Clients title must be either: Mr, Mrs, Miss or Dr. No other values are allowed"


Can I some where find a possible list of error codes/text/types of DOM XML parser? I tried reading about DOMErrorHandler Interface and stuff but can't find an exhaustive list of error types in the documentation.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jul 09, 2009 5:42 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I can't find any such list either. My next step would be to run grep against the folder where IA9A is installed, and see whether I could find a readable file containing the error messages.

btw, you don't need IA9A if you're on v6.1. XMLNSC does the same thing ( with almost the same error messages ) but *much* faster and probably more stable.
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 » Exhaustive list of Schema validation errors codes and text
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.