ModSAX (SAX 1.1) Proposal

David Megginson david at
Mon Feb 15 22:55:14 GMT 1999

Love it or hate it, here goes...

I propose that SAX 1.1 (aka ModSAX) add the following three core
classes and interfaces to SAX 1.0 in the org.xml.sax package:

  public interface ModParser extends Parser
    public abstract void setFeature (String featureID, boolean state)
      throws SAXNotSupportedException;

    public abstract void setHandler (String handlerID, ModHandler handler)
      throws SAXNotSupportedException;

  public interface ModHandler
    // yup, it's empty...

  public class SAXNotSupportedException extends SAXException
    // yup, it's empty...

I'm going to disappear now until Wednesday, so I'll let everyone chew
on these for a while until I have time to offer explanations and
arguments later this week.  

No, I haven't forgotten namespaces, or DTD information, or lexical
information, or anything else.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list