Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] A single, all-encompassing data validation language -good or bad for the marketplace?


  • From: Michael Kay <mike@...>
  • To: 'Chris Scott' <scott.chris@...>,"'Costello, Roger L.'" <costello@...>
  • Date: Tue, 07 Aug 2007 02:44:32 +0100


> 
> > 2. Is grammar validation of a fundamentally different 
> nature than rule validation?
> 
> I think so.

Say you've got a schema that says an element representing data for a month
must have at most 31 children, and you decide you want to be a bit more
precise and say it must be 30 for some months and 31 for others and
occasionally 28 or 29. Does this refinement mean you are doing something of
a fundamentally different nature? I think not. It does mean that you've
crossed the limits of what can be done with a grammar-based approach, but
surely we should make it as easy and seamless for people to cross that
boundary as we can?

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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords