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

assert error using schema 1.1

2012-10-26 Thread pa7751
Hi I am facing problem in creating a schema if anyone could please assist. I am using Oxygen XML Editor. So the problem is that I have a schema declaration as below: So what teh above intends is that some element has an 'output' attribute which is optional. But if this attribute is defined, t