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

Re: SAX Filters

  • From: David Brownell <david-b@p...>
  • To: Leigh Dodds <ldodds@i...>, xml-dev <xml-dev@l...>
  • Date: Thu, 19 Apr 2001 07:46:13 -0700

filters producers
Well, from my perspective the SAXFilter mechanism is inside out.  Call
it what you will, but I couldn't usefully think that way.  The pipeline APIs at

http://xmlconf.sourceforge.net/java/apidoc/xml/pipeline/package-summary.html

are a IMO better approach ... they focus on the pipeline components,
and don't force the event producers to be SAX parsers.  Producers
can just generate infoset level callbacks directly.  (If they do that, it may
be useful to debug by splicing a WellFormednessFilter to replace some
of the structural checks made by any XML parser.)

That package only includes a few filters, but then it was only intended
to be the generic framework for assembling filters:  producers, consumers,
tee connectors, and a few building block filters (DTD validator, remote
message exchange, and so on).  There have been some RSS filters
(collecting/organizing) written, but they're not included in that package.
And I never got around to adding an XSLT filter component.

- Dave


----- Original Message ----- 
From: "Leigh Dodds" <ldodds@i...>
To: "xml-dev" <xml-dev@l...>
Sent: Thursday, April 19, 2001 6:22 AM
Subject: SAX Filters


> Hi,
> 
> Has anyone compiled a list of useful SAX filters? I've been casting 
> about for some and was slightly suprised to find so few available.
> 
> DavidM has a couple on his website, and SimonStL has a SAX 1.0 
> XLink Filter, but there doesn't seem to be a great deal more.
> 
> Does this mean that people are throwing together ad hoc filters 
> which they're using internally, and that there is little interest in 
> general 'utility' filters? Or has nobody bothered to produce any?
> 
> Given the interest in 'pipelining' XML processing, and the 
> support in JAXP for Transform filters, I'd have thought there would 
> be more resources available.
> 
> Any pointers appreciated.
> 
> Cheers,
> 
> L.
> 
> -- 
> Leigh Dodds, Systems Architect       | "Pluralitas non est ponenda
> http://weblogs.userland.com/eclectic |    sine necessitate"
> http://www.xml.com/pub/xmldeviant    |     -- William of Ockham
> 



  • References:

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.