ModSAX: Proposed Core Properties

David Megginson david at
Wed Mar 10 11:30:32 GMT 1999

MikeDacon at writes:

 > So, what I'm saying is that I would like to be able to choose
 > whether to interface to the Parser via events or via a DOM.  If you
 > agree with this, I believe using the return type is more
 > appropriate than getting a resultant property (as I suggest next).

This is easy enough to build on top of SAX, but I think that it's
probably out of scope for SAX itself.  SAX is meant to be a relatively 
simple, low-level layer that people can build on.

 > If for some reason the above is not palatable, the same could be 
 > accomplished under the current scheme if we added a 
 > property:
 > <org.w3c.dom.Document> (read-only)

The nice thing about ModSAX is that you're free to try this yourself
-- just define a property like

(or whatever URL you can use based on your AOL account) and let the
market decide whether to support it.  Perhaps one of the people who
has written a higher-level utility package that supports both SAX and
DOM would like to use this or something like it.

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