[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: SAX2 ... missing features?

  • From: David Brownell <david-b@p...>
  • To: Michael Brennan <Michael_Brennan@a...>, xml-dev@l...
  • Date: Wed, 11 Jul 2001 12:27:55 -0700

schema validator sax2
> From: "Michael Brennan" <Michael_Brennan@a...>
>
> It would be nice to see a standardized interface for supplying an object
> responsible for locating resources associated with a namespace. This is
> badly needed for parsers that support schema validation. 

To me that seems like it should be part of a "schema validator" support
module.  There are probably other things that would go there, like a
system property exposing whether schema validation gets done.


> I'd like to see a standard SAX extension for a resource resolver. It could
> perhaps take some cues from RDDL -- i.e. allow the parser to ask for
> resources related to a namespace URI based on a nature, purpose, or both.
...
> I'd really, really like to see parsers supporting a portable, scalable API
> for this sort of thing.

Could you explain how a parser -- versus a schema validator -- would
use such a facility?  Maybe I'm being dense, but I don't see why a schema
validator should be built into a parser rather than cleanly layered ... it seems
like a natural to implement as some sort of event stream filter.

Unlike a DTD validation filter, a schema validation filter ought to be very
doable using the standard events that flow through an XmlFilterImpl.  Would
some open source project to develop such a filter suit your desire?

- Dave



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.