This is going to be one of the 'hard' issues in the weeks to come, I fear. I
wish that the XML spec had discussed processors (non-validating processors,
that is) and validation as a module on top of those processors, instead of
describing validating processors as a single unit. Of course, this would have
required building the spec quite differently.
Non-validating processors and interfaces like SAX seem like useful starting
points for the processing discussion, upon which we can build our
schema-verifying layers. I'd love to see a verification implementation that
behaves like David Megginson's XAF - using SAX to parse the document and its
XSchema (XAF is about architectural forms), then using SAX to return the
'verified' document to the application above. This kind of 'layering' seems
like an appropriate model to me.
Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies