OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SAX Filters



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@ingenta.com>
To: "xml-dev" <xml-dev@lists.xml.org>
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
>