[jdom-interest] Questions on business rule validation

Kyle F. Downey kdowney at amberarcher.com
Tue Oct 9 08:25:46 PDT 2001


At http://sourceforge.net/projects/amberarcher, you can find ClassLib, our
GPL'd Java class library [there's a rider allowing runtime linkage with
any Open Source package]. It includes a mini rule engine that can parse
arbitary vocabularies and SQL WHERE-clause like rules about them. We use
it, among other things, to write logging configuration files (in XML,
parsed with JDOM, of course) that let the system "decide" who receives
different logged events, and how. The latter is under
org.amberarcher.mmt.config; the former under org.amberarcher.rule.

The main site is http://www.amberarcher.org.

> Hi,
>
> We are designing a system that processes tax returns
> submitted as instances of XML documents.  We use XML
> schema 1.0 recommended by W3C.  One question we are
> trying to answer is related to the validation of
> business rules.
>
> While some business rules can be enforced in the
> schema definitions, certain business rules cannot be
> enforced in the schema.  More specifically, the
> relationship between different data elements is hard
> to enforce using schema alone - one example is the
> value in data element A should equal the value of data
> element B.
>
> We can certainly write Java programs (taking advantage
> of JDOM APIs) to enforce those types of business
> rules.  The problem is that tax law changes each year,
> and we do not want to change the code each year.  So
> the questions we have are:
>
> 1) Are there any rule engines out there that
> facilitate the validation of the business rules and
> minimize the coding changes when business rules
> change?
>
> 2) Can stylesheets be used to specify the business
> rules that cannot be included in the schema
> definitions?  If the answer is yes, the stylesheets
> can be modified when business rules change without
> need to change the code.
>
> I'm not sure this is the right place to post such
> questions.  In any case, thanks for your time and
> help!
>
> Charlie
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>




More information about the jdom-interest mailing list