OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] When to Validate XML?





> -----Original Message-----
> From: Jens Jakob Andersen, PDI [mailto:jens.jakob.andersen@post.dk]
> Sent: Tuesday, November 06, 2001 9:03 AM
> To: Champion, Mike; xml-dev@lists.xml.org
> 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?