Dennis Sosnoski wrote:
IMHO one of the mistakes of the SAX interface design was to merge DTD handling and validation into the parser core. These types of functions can more cleanly be handled as layers over a core parser API. If this had been done with SAX we would have the problem of some parsers supporting validation and other not - the validation would be a SAX filter that could be used with any parser.
Err, make that "would *not* have the problem"!
- Dennis