[XMLReader extends Parser???]

James Layer JBLayer at netscape.net
Wed Jan 12 20:36:30 GMT 2000

David Megginson <david at megginson.com> wrote:

>Well, Miles got me thinking, and that's actually not quite the case --
>XMLReader will be reporting its events through ContentHandler instead
>of DocumentHandler, so casting down doesn't seem that useful after all
>(unless your apps are interested only in DTDHandler and ErrorHandler
>events); I guess that we do need an adapter instead.

Ack! I must have had my lunch bag over my head while engaging in delusions of
ContentHandler extending DocumentHandler (there's a mess!). I also completely
missed the fact that I could simply sport a new method(s) of my own for the
new interface and deprecate and/or adapt the old as required.

Pardon please while I leap inelegantly to the other side of the fence. ;)


Jim Layer

Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.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/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.

More information about the Xml-dev mailing list