[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SAX Filters
- From: David Brownell <email@example.com>
- To: Leigh Dodds <firstname.lastname@example.org>, xml-dev <email@example.com>
- Date: Thu, 19 Apr 2001 07:46:13 -0700
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
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.
----- Original Message -----
From: "Leigh Dodds" <firstname.lastname@example.org>
To: "xml-dev" <email@example.com>
Sent: Thursday, April 19, 2001 6:22 AM
Subject: SAX Filters
> 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.
> Leigh Dodds, Systems Architect | "Pluralitas non est ponenda
> http://weblogs.userland.com/eclectic | sine necessitate"
> http://www.xml.com/pub/xmldeviant | -- William of Ockham