Author |
Message
|
abhishekpreddy |
Posted: Thu Apr 03, 2008 12:20 am Post subject: Problem With plugin node ia9a (XML Validator plugin) |
|
|
Apprentice
Joined: 02 May 2007 Posts: 49
|
Hi we are using the XML Validator plugin in one of our flows , to validate the incoming XML message against a schema , the plugin throws an error which I am not sure why . Following is the error message
XML Validator has thrown the following exception: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration.
I have checked the XML against the XSD using a normal java class using the DOM parser and the XML is clean , not sure why the Plugin throws the error.
Any suggestion would be really helpful |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 03, 2008 12:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
|
Back to top |
|
 |
abhishekpreddy |
Posted: Thu Apr 03, 2008 12:29 am Post subject: |
|
|
Apprentice
Joined: 02 May 2007 Posts: 49
|
Yaa Jedi ,
Is the same configuration , Broker Version 6002 running on AIX |
|
Back to top |
|
 |
kimbert |
Posted: Thu Apr 03, 2008 12:42 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
You could upgrade to v6.1 and use XMLNSC to do the schema validation.
( probably not a viable solution for you, but I'd like future readers to see this when reading the thread ). |
|
Back to top |
|
 |
abhishekpreddy |
Posted: Thu Apr 03, 2008 1:57 am Post subject: |
|
|
Apprentice
Joined: 02 May 2007 Posts: 49
|
Hi ,
Kimbert , could you please elaborate how we can do it using it the method you suggested. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Apr 03, 2008 2:44 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
abhishekpreddy |
Posted: Thu Apr 03, 2008 3:59 am Post subject: |
|
|
Apprentice
Joined: 02 May 2007 Posts: 49
|
Hi Kimbert ,
that seems to be a far more clean approch for the schema validation , but can you guys suggest any thing for the current scenario i am in , if not the plugin , is there any other option how I can validate the incoming message , i am trying currently with the Message Sets , Just wanted to check with you guys if you have any other ideas. |
|
Back to top |
|
 |
|