Author |
Message
|
sapana |
Posted: Fri May 22, 2009 5:01 am Post subject: XMLNSC validation in message broker 6.0 |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
Hi,
We are using message broker 6.0. We need to validate incoming XML messages using XML Schema. From the documentation of broker6.0 I gather that to validate the content and values in XML messages, we should use the MRM domain.
And though XMLNSC parser does parsing and serializing faster than MRM, in 6.0 it treats all data in an XML message as character strings and hence not suitable for validation.
And in message broker6.1, XMLNSC message domain has been enhanced; it has improved performance and can validate XML documents using XML Schema. So here we prefer XMLNSC always over MRM wherever possible.
Please correct me if I am wrong or overlooking some fact.
Sapana
Last edited by sapana on Fri May 22, 2009 5:44 am; edited 1 time in total |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri May 22, 2009 5:07 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
use the validation node in the pallete _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
kimbert |
Posted: Fri May 22, 2009 5:25 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Don't use the Validate node. It simply uses the MRM domain under the covers.
Your understanding of the situation is perfect
Your choices are:
- Set the input node to use the MRM domain and set Validation to 'Content and Value'. You will get validation that is roughly the same as an XML schema validator would do.
- Set the input node to use the XMLNSC domain, but use support pack IA9A to validate the bit stream.
I think the second option positions you best for the future because when you upgrade you can throw out IA9A and use the built-in validation. |
|
Back to top |
|
 |
sapana |
Posted: Fri May 22, 2009 5:57 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2007 Posts: 33 Location: Pune
|
Thanks for your quick replies
Kimbert,
Can you please confirm if using support pack IA9A in production environment is a viable option and has been tested before?
I would refer its documentation to understand its usage. |
|
Back to top |
|
 |
kimbert |
Posted: Fri May 22, 2009 7:51 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
No reason not to use it in production, AFAIK. I believe it's in production on many other sites. |
|
Back to top |
|
 |
|