Re: assert error using schema 1.1

2012-10-30 Thread pa7751
I changed it as below and it is working: thanks Mukul Gandhi-4 wrote: > > On Sat, Oct 27, 2012 at 12:17 PM, pa7751 wrote: >> The attribute is optional. But if it is there then it can assume any >> value >> other than 'isTimedOut' or 'result'. > > I think, then the assert needs to be someth

Re: assert error using schema 1.1

2012-10-27 Thread Mukul Gandhi
On Sat, Oct 27, 2012 at 12:17 PM, pa7751 wrote: > The attribute is optional. But if it is there then it can assume any value > other than 'isTimedOut' or 'result'. I think, then the assert needs to be something like following: -- Regards, Mukul Gandhi --

Re: assert error using schema 1.1

2012-10-26 Thread pa7751
The attribute is optional. But if it is there then it can assume any value other than 'isTimedOut' or 'result'. But if I write the schema as I have shown, then every task must have an 'output' attribute, and this is happening because of the assert that I have put. So the optional thing is not hap

Re: assert error using schema 1.1

2012-10-26 Thread Mukul Gandhi
On Sat, Oct 27, 2012 at 12:03 AM, pa7751 wrote: > So what teh above intends is that some element has an 'output' attribute > which is optional. > Now the problem is that in the xml I cannot have the element without > 'output' attribute even though I am declaring it as optional. So if the tag > do