[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Validation API, was: Regarding the vote on XML Schema.
- From: David Brownell <email@example.com>
- To: Wayne Steele <firstname.lastname@example.org>, Tony.Coates@reuters.com,email@example.com
- Date: Tue, 24 Apr 2001 16:13:06 -0700
> IIRC, the consensus was that more is needed than a 'pluggable validator'
> API; each schema technology brings its own infoset contributions.
The "xml.pipeline.*" APIs (in the Java XML package at
http://xmlconf.sourceforge.net/java/apidoc) supports that.
There's currently only one validation filter (DTD validation),
but others could be added.
I'd hope that infoset additions which can't be spliced in the SAX2
event streams directly (defaulted attributes, say) would easily be
defined through additional SAX2 "handler" callbacks/properties...
> 'Validation' can be seen as a special case of an infoset contribution.
For one example, validation errors are ErrorHandler.error() calls;
though perhaps some kinds of validation might prefer more specific
sorts of notifications.