[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Brownell <david-b@p...>
  • To: Wayne Steele <xmlmaster@h...>, Tony.Coates@r...,xml-dev@l...
  • 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.

- Dave




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member