|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Beyond schema
In general, checking an XML document against business rules is likely to require application code as well as relying on some document description format like XML schemas. If the constraints fall within certain classes, there are alternatives to XML Schema, such as Schematron or RELAX-NG. Most likely, application logic will be needed. If business rules change frequently, it is best to implement them not as individual chunks of hard code, but as declarative forms in a special rule language that's easy to comprehend and change, processed by some kind of rule engine. If you're doing it in java, you might investigate JESS, which is an expert system shell. If you want more information, please write to me privately. Jeff ----- Original Message ----- From: <Philippe.Peeters@s...> To: <xml-dev@l...> Sent: Wednesday, August 01, 2001 8:16 AM Subject: Beyond schema | Hi there, | | I am quite new to XML developpement (and to this list) but I have a | question concerning the validation of XML messages (or data structure) | beyond what is allowed by a XML schema. ... | When we receive the data (the xml message) we need to check the structure | (is the message valid according to the schema) but we also need to | implement particular business rules. For exemple, a field A in the message | is required if, and only if, the value of some other field B in the message | is defined in a extrnal list of values.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








