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

From
Michael Kay <>
To
'Greg Alvord' <>, 'Rick Marshall' <>,
Date
2006-12-12T00:34:59
ID
<024001c71d85$5b7d1b50$6401a8c0@turtle>
Thread
RE: [xml-dev] Rick Jelliffe quotable quote on the purpose of schemas
> Rick Marshall Wrote: This is a long way of saying that I 
> think trying to get one tool to do 2 fundamentally different 
> things is always going to less than optimal.

If I want to restrict colour to be red, blue or green, is it fundamentally
different whether I do that using a grammar or using a predicate-based
language?

Perhaps if I write

colour -> (red | blue | green)

then I don't even know or care about the difference...

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