I have not implemented this as a database schema at this point, however
doing so should not be hard. Validat is setup to either take an XML
configuration file, or use its programmatic API for configuration. So, it
you use the programmatic API, you could really store the rules etc. any way
that you want. There are some obvious relations already ... data sets have
data elements, which have assertions ... but even then, there is no hard and
fast rule that they need to be stored in a database that way.
Point being, you can use the API however you like. Most of the time I have
started with at least a basic XML config ... maybe just containing all of
the basic rules ... and then use the API to programmatically add and remove
elements and assertions.
Hopefully that helps a little bit.
-- Jeff
Jeff Chastain
Senior Software Architect
Alagad, Inc.
www.alagad.com
Assertions are only required for a data element if you want to check the
contents of that data element. If you just want to verify that it contains
something, then using the required argument of the dataElement tag, plus the
message argument will be good enough without any assertions.
Thanks
-- Jeff
Jeff Chastain
Senior Software Architect
Alagad, Inc.
www.alagad.com
-----Original Message-----
From: val...@googlegroups.com [mailto:val...@googlegroups.com] On Behalf
Of Brian G
Sent: Thursday, February 21, 2008 2:10 PM
To: Validat