Author |
Message
|
lanny boy |
Posted: Wed Jun 09, 2004 2:31 am Post subject: XML Schema Validation |
|
|
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
|
I have an XML schema which I have imported in to WMQI(V2.1). When I pass a valid message through it is parsed correctly.
However if I pass an invalid message through it is not passed to the failure terminal of the Input node. I have checked the Validate box on the Advanced tab of the Input node.
Any ideas?? |
|
Back to top |
|
 |
JT |
Posted: Wed Jun 09, 2004 6:46 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Is there a Timing parameter on the Advanced tab of the Input node? |
|
Back to top |
|
 |
lanny boy |
Posted: Wed Jun 09, 2004 6:51 am Post subject: |
|
|
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
|
No there is Timing Parameter.
It also seems that previous to CSD06 there was a Validation tab, but this has since been removed......... |
|
Back to top |
|
 |
JT |
Posted: Wed Jun 09, 2004 7:21 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
The default setting for the Timing parameter was "deferred" which invoked validation when the field was parsed. Wonder if that setting is still in effect. Is a parsing exception thrown further downstream in the message flow? |
|
Back to top |
|
 |
kirani |
Posted: Wed Jun 09, 2004 10:40 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
lanny boy wrote: |
It also seems that previous to CSD06 there was a Validation tab, but this has since been removed......... |
what, they removed it??
They just added it in CSD3. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
lanny boy |
Posted: Thu Jun 10, 2004 12:20 am Post subject: |
|
|
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
|
Looks that way. We have versions on CSD4 with a validation tab, but the versions on CSD6 only have a validation checkbox on the Advanced tab. |
|
Back to top |
|
 |
Blobtastic |
Posted: Thu Jun 10, 2004 12:49 am Post subject: |
|
|
Apprentice
Joined: 03 Nov 2003 Posts: 34 Location: uk
|
Does anyone know the definitive answer to the disappearing Validation tab?
If it has been removed, I assume there must be another way of requesting the same processing options? Does anyone know how to do this? Or should I revert to CSD03 to be able to validate an XML message? |
|
Back to top |
|
 |
lanny boy |
Posted: Thu Jun 10, 2004 12:56 am Post subject: |
|
|
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
|
JT wrote...
[Is a parsing exception thrown further downstream in the message flow?]
No JT a parsing exception is not thrown. I should point out that the message being passed through is valid XML, however it is not part of the schema which I am using to parse it.[/quote] |
|
Back to top |
|
 |
shanson |
Posted: Thu Jun 10, 2004 2:39 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
The validation tab has not been deliberately removed by IBM I can assure you of that.
Are you sure you applied CSD6 correctly?
Are you sure you didn't apply the CSD for event broker by mistake?
Is the validation tab missing from all MQInput node instances?
Is the validation tab also missing from Compute node instances? |
|
Back to top |
|
 |
lanny boy |
Posted: Thu Jun 10, 2004 3:02 am Post subject: |
|
|
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
|
I'm pretty sure that I have installed the correct CSD..
I done a couple of quick tests...
On CSD 6 when I create a new flow and add new input nodes and compute nodes there is no Validation tab (However there is the validate checkbox on the advanced tab).
However if I import an existing flow, written on a lower CSD the validation tabs are present on CSD6....but if I add a new Input node to this existing flow again I have no validation tab.
Confused....[/img] |
|
Back to top |
|
 |
shanson |
Posted: Thu Jun 10, 2004 3:04 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
PMR time I'm afraid. Please post the response. |
|
Back to top |
|
 |
lanny boy |
Posted: Mon Jun 21, 2004 7:06 am Post subject: |
|
|
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
|
The outcome of the PMR was that when you move to CSD05 or higher from any lower CSD you must delete the ConfigMgr (without the -n
and -m options, else you would lose the CMDB and MRDB)
and then recreate it.
This has solved the mystery of the disappearing tab....
This is explained in the CSD readme file. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 21, 2004 7:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
lanny boy wrote: |
The outcome of the PMR was that when you move to CSD05 or higher from any lower CSD you must delete the ConfigMgr (without the -n
and -m options, else you would lose the CMDB and MRDB)
and then recreate it. |
This was also necessary when moving from CSD02 to CSD03 or greater. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
catwood2 |
Posted: Mon Jun 21, 2004 11:19 am Post subject: |
|
|
Centurion
Joined: 17 May 2002 Posts: 108
|
Did this resolve your original validation issue? |
|
Back to top |
|
 |
|