[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Need a language whiz: An XML Schema "specifies" howdata is
Greetings. On 4 Jan 2018, at 14:46, John Cowan wrote: But itThis, many times! I think people often become obsessed by XML validation, apparently forgetting that in any non-trivial document/workflow there will be multiple layers of validation of the type which John illustrates, which cannot reasonably be articulated with any schema, and in comparison to which schema validation is merely an initial sanity check, or possibly contract check. If, for example, a postal code has a mistaken format, and this is caught by a schema check, then the resulting error ('computer says no') is likely to be much less intelligible to the 'sender' than if the error is caught at a higher level, where there is more semantic context. This is a type of 'brittleness', which in my experience is often associated with complicated schemas. It may therefore be a wise general position to avoid designing intricate schemas as much as possible, and to perform accept/reject decisions relatively late (I can easily think of cases where this would not be appropriate, of course). Best wishes, Norman -- Norman Gray : https://nxg.me.uk SUPA School of Physics and Astronomy, University of Glasgow, UK
[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
|