Validation Considered Harmful

December 13, 2006

Mark Baker considers validation harmful. I agree only half way — following Postel’s law (“Be conservative in what you do; be liberal in what you accept from others”), validating what you produce as opposed to what you consume might make sense. Although I’ve never done it in practice yet, I consider Schematron an ideal candidate for ensuring the necessary preconditions for processing some input are met.

About

This page contains a single entry from Stefan Tilkov's Random Stuff posted on December 13, 2006 8:58 AM. The previous post in this blog was Parleys. The next post in this blog is 10 Principles of SOA. Many more can be found on the main index page or by looking through the archives.

Comments