[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Validation API, was: Regarding the vote on XML Schema.
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|