August 2003
Intermediate to advanced
624 pages
15h 3m
English
I said in Chapter 1 that we were going to take a fairly simple approach to error handling. I'm not going to change that direction, but we need to be a bit more specific about what we're going to do.
There is a bit of debate in the XML world about just how strict validation should be. The debate centers on questions like whether or not a somewhat lax model of validation should be supported for certain applications or types of problems, rather than a very strict model. For example, some people think that a string Element that exceeds its maximum length facet should just cause the APIs to issue a truncation warning instead of throwing an error and terminating parsing or validation. All the parsers I know of support only a ...