Yes, it works without any exceptions if role is defined without default-class:
<role name="org.apache.cocoon.components.saxconnector.SAXConnector"
shorthand="sax-connector"/>
Vadim
> -----Original Message-----
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: AW: NullSAXConnector
>
>
> I think this always worked, but we kept the NullSAXConnector in,
> because inside Avalon were a NPE raised when a role was defined
> and the default class was missing.
>
> But the role for the sax connector must still be in the sitemap.roles
> files but it must not have a default class. The role is required there
> so that a user can define a sax connector in the cocoon.xconf.
>
> If this is working without raising an NPE (which can only be
> seen in the log) I think we can remove it.
>
> Carsten
>
> > -----Ursprüngliche Nachricht-----
> > Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 19. Juli 2001 15:59
> > An: Cocoon Developers
> > Betreff: NullSAXConnector
> >
> >
> > Carsten,
> >
> > Is it time to remove NullSAXConnector?
> > After removing it from sitemap.roles, cocoon.xconf, and
> > AbstractEventPipeline,
> > everything still works.
> >
> >
> > Vadim
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]