RE: [xml-dev] Rick Jelliffe quotable quote on the purpose of schemas

From
Michael Kay <>
To
'Philippe Poulard' <>, "'Costello, Roger L.'" <>
Date
2006-12-11T15:30:08
ID
<012601c71d39$3d9dc680$6401a8c0@turtle>
Thread
RE: [xml-dev] Rick Jelliffe quotable quote on the purpose of schemas
> "The flaw with grammars is that they only allow to constraint 
> content models in a declarative manner

There's nothing wrong with constraints being declarative - in fact, they
definitely should be - the flaw is with the expressive power of a grammar as
a contraint language.

This is all well known. And in fact, XML Schema itself has some
extra-grammatical constraints, namely uniqueness and referential
constraints. But there's still a camp that believes (wrongly, in my view)
that the expressive power of a schema language should be restricted for
performance reasons.

Michael Kay
http://www.saxonica.com/