You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Vadim Gritsenko <vg...@hns.com> on 2001/07/19 15:58:51 UTC

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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: NullSAXConnector

Posted by Carsten Ziegeler <cz...@sundn.de>.
Great!

Carsten

> -----Ursprüngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:vgritsenko@hns.com]
> Gesendet: Donnerstag, 19. Juli 2001 17:02
> An: cocoon-dev@xml.apache.org
> Betreff: RE: NullSAXConnector
>
>
> 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:cziegeler@sundn.de]
> > Sent: Thursday, July 19, 2001 10:25 AM
> > To: cocoon-dev@xml.apache.org
> > 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:vgritsenko@hns.com]
> > > 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: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: NullSAXConnector

Posted by Vadim Gritsenko <vg...@hns.com>.
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:cziegeler@sundn.de]
> Sent: Thursday, July 19, 2001 10:25 AM
> To: cocoon-dev@xml.apache.org
> 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:vgritsenko@hns.com]
> > 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: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: NullSAXConnector

Posted by Carsten Ziegeler <cz...@sundn.de>.
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:vgritsenko@hns.com]
> 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: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org