[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A single, all-encompassing data validation language- good

  • From: Philippe Poulard <Philippe.Poulard@s...>
  • To: Amelia A Lewis <amyzing@t...>
  • Date: Tue, 07 Aug 2007 13:54:53 +0200

Re:  A single
Amelia A Lewis a écrit :
> On 2007-08-06 21:44:32 -0400 Michael Kay <mike@s...> wrote:
>> 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
> 
> Really?
> 
> I do not find it difficult to imagine a grammar that can specify these 
> constraints; 

Job's done : this is what I did with the Active Schema Language ; 
content models can adapt themselves while validating, and about 
Michael's example, occurrence boundaries can be computed at runtime
In the tutorials of RefleX, the engine that implements ASL, there is 
such an example :
http://reflex.gforge.inria.fr/tutorial-schemas.html#activeSchema

Have a look at what I previously posted in this thread

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.