- From: Michael Kay <mike@saxonica.com>
- Date: Mon, 18 Jun 2012 22:47:09 +0100
- To: Mukul Gandhi <gandhi.mukul@gmail.com>
- CC: xmlschema-dev@w3.org
>> I think it would have been much better if we had allowed assertions to be >> defined within an<xs:extension> > I think, this is allowed presently by the XSD 1.1 language. Of course. Not sure how I overlooked that. So if I have a type A and I want to define a type B that restricts A with an assertion, the simplest way is to define B as a "vacuous extension" of A. Non-obvious, but very useful. Michael Kay Saxonica
Received on Monday, 18 June 2012 21:47:33 UTC