|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Exhaustive list of Schema validation errors codes and text |
« View previous topic :: View next topic » |
Author |
Message
|
Mandeep |
Posted: Thu Jul 09, 2009 4:57 am Post subject: Exhaustive list of Schema validation errors codes and text |
|
|
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 |
|
 |
kimbert |
Posted: Thu Jul 09, 2009 5:42 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|