Re: [xml-dev] The triples datamodel -- was Re: [xml-dev] Semantic Web permathread, iteration n+1

From
Michael Champion <>
To
XML Developer List <>
Date
2004-06-08T12:17:47Z
ID
<>
Thread
Re: [xml-dev] The triples datamodel -- was Re: [xml-dev] Semantic Web permathread, iteration n+1
On Jun 8, 2004, at 2:40 AM, Henrik Martensson wrote:
>
> "Validating" does not mean "breaking". It is the other way around.
> Validation is one form of error checking. It is when you don't check 
> for
> errors that you end up with brittle software. Worse, you can end up 
> with
> software that produces insane results without notifying anyone. This 
> can
> be a killer, literally.
>
A couple of others answered this, I'd just add one more point:  real 
business-level validation checks a lot more than syntax.  It's not 
enough that a name and address field are filled in, that usually has to 
unambiguously match a known customer.  It's not enough that a date is 
in the format specified by the schema, it has to be in an appropriate 
timeframe (usually the recent past or the recent future).  Given that 
you have to validate all that stuff anyway, and that you have tools 
such as XPath to extract the needed information from a more general 
context rather than a rigid syntax, lots of people find that the 
exercise of defining, agreeing to, and validating against a 
syntax-level schema doesn't add enough benefit to justify the cost.