A Proposal for Refactoring SAX

David Megginson david at megginson.com
Tue Jun 1 15:14:41 BST 1999

jackandgina at mindspring.com writes:

 > I was initially frustrated with SAX's lack of support for accessing
 > the DTD. Unlike the other XML efforts (XSchema, XSL, etc.) DTDs are
 > not written as XML and it would be nice to access the DTD's
 > internals as well as. I've come to understand you point about SAX
 > being low level, but I'm still not sure I agree with it to the
 > point of excluding DTD handling.
 > So I'm rolling my own library for DTDs similarly to the way SAX is
 > meant for the actual xml documents.

That's a great idea, and SAX2 will support such extensions itself, if
you want.  I should mention, however, that we have discussed adding
some further DTD support to SAX2 in the form of optional handlers set
using the SAX2 setProperty() method.

All the best,


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