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'

Re: assert error using schema 1.1

2012-10-26 Thread pa7751
. So the optional thing is not happening if I have that assert. How to fix this? i.e. i need the assert and I need the optional behaviour too. Mukul Gandhi-4 wrote: > > On Sat, Oct 27, 2012 at 12:03 AM, pa7751 wrote: >> So what teh above intends is that some element has an 'output

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

Validating with Xerces for XSD 1.1

2012-09-27 Thread pa7751
Hi I am trying to validate an xml against schema 1.1 using xerces2.11 librray. However, it is unable to parse the asserts. The documentation says that xerces 2 library supports assertions. then why am I unable to validate my xml. Using JAXP I can do it, but not using xerces. The files are attach