[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: It is okay for things to break in the future!
I think what you’re suggesting is that it’s generally possible to know the world, and developers can and should do this, because the benefits of trying to model the world in ways that break your model when the world doesn’t agree are actually a good thing. We’re suggesting that it’s even less possible to model the world - even in incredibly simple ways - than most people realise, and the costs of breaking your model when the world inevitably doesn’t agree with your model far outweigh the relatively minor benefits that the (broken) validation brings. Cheers, Damian > On 5 Sep 2022, at 7:30 am, Roger L Costello <costello@mitre.org> wrote: > > Michael Kay wrote: > >> So you're seriously suggesting that just because no employee >> has ever earned a bonus of more than $1m, or has had a >> surname longer than 20 characters, your schema should >> impose these as upper limits? > > Absolutely. > > If the current worldview is that, then those should be the limits. > > In my opinion, the "Golden Rule of Validation" is this: > > Do not treat invalid data > as valid. > > /Roger
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|