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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Benefits of validation

I've been interviewing job candidates.  When they have actual XML
development experience, one of the areas I ask about is to tell me their
opinions on validation and how they think that is best handled.  It's a
pretty good razor question because the answers will tell me how deeply
they've used XML and in what situations.

Over half are content to use DTDs to do precisely that: validate at
boundaries (eg, before building a bean).   They tend to be agnostic about
issues that some of us are passionate about (e.g., XSD vs Relax vs DTD).
Very few talk about generative systems, exotic data typing, or other topics.
I've gotten zero responses regarding XML databases.

So if that sample is indicative, the validation at boundaries answer is
common practice and the rest tends to be niches.  Balanced against the
original design goals for XML, I think the goals are well-met.


From: ht@inf.ed.ac.uk [mailto:ht@inf.ed.ac.uk] 
Dan Connolly once put it very succinctly: "It makes sense to validate
at trust boundaries."

That's one of the main things contracts are for -- to establish
mutually agreed interfaces:  "I promise to deliver to these specs/I
promise to process anything which matches those specs".

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS