Why? Not sure. Couldn't reproduce that from the mailing list archives.
Changed? No, because it would break backwards-compatibility. What's the
motivation behind the question? Every DefaultHandler is a ContentHandler,
so this shouldn't be a problem.
Interesting case, BTW, if you go looking into the archives:
ContentHandler->DefaultHandler, adding ErrorListener methods to
http://svn.apache.org/viewvc?view=rev&revision=197827 (Glen, Driver->Fop
http://svn.apache.org/viewvc?view=rev&revision=378482 (me, somehow losing
the ErrorListener methods during the refactoring, nobody missed them it
Maybe Simon remembers the details... That was soooo long ago. ;-)
On 11.09.2009 11:55:46 Vincent Hennebert wrote:
> does anyone know why the o.a.f.apps.Fop.getDefaultHandler method returns
> an instance of org.xml.sax.helpers.DefaultHandler and not just an
> org.xml.sax.ContentHandler? Could that be changed?