Validation Considered Harmful

, Dec 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.