[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] When to Validate XML?
- From: "Champion, Mike" <Mike.Champion@SoftwareAG-USA.com>
- To: email@example.com
- Date: Tue, 06 Nov 2001 09:13:21 -0500
> -----Original Message-----
> From: Jens Jakob Andersen, PDI [mailto:firstname.lastname@example.org]
> Sent: Tuesday, November 06, 2001 9:03 AM
> To: Champion, Mike; email@example.com
> Subject: SV: [xml-dev] When to Validate XML?
> If I look at the RDBMS world, and the database level validation used
> there, i.e. triggers, rules etc., these are in fact mostly used at the
> development and testing time, to make sure that the RDBMS
> will generate a runtime error when the program tries to insert invalid
> data, i.e. out of range data.
Hi JJ ... now that you're out there in the Real World <grin>, maybe you
could help us understand the role of RDBMS-level validation vs application
logic. I suspect that will be the pattern that XML B2B/A2A systems will
tend to follow once XML Schema implementations and applications mature. Are
you saying that the RDBMS triggers, rules, etc. are mostly used during the
debugging phase, and perhaps that application logic (JavaBeans in an app
server or whatever) tends to handle the validation in the production
applications? If so, is that because the DB triggers/rules/etc. have too
much of a performance burden?