ModSAX (SAX 1.1) Proposal

David Megginson david at megginson.com
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

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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




More information about the Xml-dev mailing list