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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] When to Validate XML?



Another way to look at schema is as a view definition.

Scary, huh?

len

-----Original Message-----
From: Jeff Lowery [mailto:jlowery@scenicsoft.com]

I regard schemas as a formalized data model contract between to systems
(which may include wetware on one end), which, in the ideal world, can be
enforced through automation. In the real world, automation mechanisms may
interpret the contract differently, so big caveat here.

Although schemas traditionally don't handle collocated constraints well
(Schematron being the exception), if 80% of the type-based constraints can
be handled through a schema mechanism, then that's  a pretty big win over
the traditional approach of human interpreted written specifications.