- From: Michael Kay <mike@saxonica.com>
- Date: Thu, 28 May 2009 11:46:33 +0100
- To: "'Pete Cordell'" <petexmldev@codalogic.com>, "'Dag Hovland'" <dag.hovland@uib.no>, <xmlschema-dev@w3.org>
> I think the feeling now is that there are other, non-state > machine ways to implement validation of constructs such as > xs:all with unrestricted cardinality and so the restrictions > are relaxed. Yes, it's very easy to implement the validator with counters. The hardest part in implementing the 1.1 spec is the rules for valid restrictions, for example the fact that sequence(a, b, a?, b, a?) is a valid restriction of all(a{1,5}, b{1,2}). And it's a little frustrating having to implement such features when you know no-one is ever likely to write such a thing! Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
Received on Thursday, 28 May 2009 10:47:17 UTC