Re: assert error using schema 1.1
Mukul Gandhi <[email protected]>
| Newsgroups | gmane.text.xml.xerces-j.user |
|---|---|
| Message-ID | <CABuuzNODBmd-C5vpi1JYYj60_=h5yWzoFkt9RuBuqGHX+z1ZxQ@mail.gmail.com> |
On Sat, Oct 27, 2012 at 12:17 PM, pa7751 <[email protected]> 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: <xs:assert test="if (@output) then not(@output = ('isTimedOut', 'result')) else true()"/> -- Regards, Mukul Gandhi