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: SAX2 ... missing features?

I'm not sure I see missing features per se in SAX.  Given my druthers, 
I'd refactor some aspects of it, but none of that is really worth 
pursuing at this point.

On the other hand, I'd love to see something along the lines of a SAX
standard library.  David Megginson's published an XMLWriter and a
DataWriter and a fair number of SAX-based tools, but there are lots of
possibilities which could be really useful.

* A router filter which sends events to different handlers based on
namespace URI

* A suppression filter which obliterates markup (and perhaps content)
from particular elements, attributes, or namespaces

* A division filter which sends the same event to multiple handlers,
possibly even multiple threads

* More configurable Writer classes, including things like the RTF output
handler for XT Eric van der Vlist announced today

* Reader classes for a few categories on non-XML input - comma-separated
might be a good place to start

Having things like these available under terms similar to those for SAX
(public domain or a relatively unrestrictive license) might make for a
more interesting world of SAX development.

I'm working on a fragmentation filter - a lot of these others are
simpler, and at least as useful.