# cocoon-dev mailing list archives

##### Site index · List index
Message view
Top
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2] Sub-Sitemap "i18n" does not override parent's definition
Date Sun, 17 Jun 2001 02:49:18 GMT
```

giacomo wrote:
>
> On Sat, 16 Jun 2001, Torsten Curdt wrote:
>
> > Sorry, dims, then I'm with you ;)
> >
> > Has anyone an idea when this bug appeared?
> >
> > I don't want to blame the hierarchical ComponentManager
> > but I got a feeling this is what we should look at first.
> > When did the manager get introduced? Is it in current (also broken)
> > 2.0 branch, too?
>
> The hierarchical ComponentManager was there from the very beginning. But
> you'll never know if there has been introduced a bug (which I doub, bt
> ...)

Yes but the Hierarchical ComponentSelector is new.  It was needed for
the
Sitemap as it is kind of unique.  Check the SitemapComponentSelector--I
can't remember so check--the select() statement should look in the
current
Selector first, and then in the previous one.  I.e.:

try {
return super.select(hint);
} catch (ComponentException ce) {
return this.parentSelector.select(hint);
}

or something to that effect.  Look at that, and if it is backwards let
me
know if this is where the bug is.

>
> Giacomo
>
> > --
> > Torsten
> >
> > > Hey!!!! I never doubted the useful-ness of the concept....What i meant was
that the current
> > > implementation does not allow sub-sitemap's to be used properly.
> > >
> > > Thanks,
> > > dims
> > > --- Torsten Curdt <tcurdt@dff.st> wrote:
> > > > > > Giacomo, Carsten,
> > > > > >
> > > > > > Please treat this is a major bug. People will not be able to
use things that are defined
> > > > only in
> > > > > > the sub sitemap. So the concept of sub-sitemap is not useful
at all.
> > > > >
> > > > > The CONCEPT IS USEFULL at all. But something has broken it. It was
> > > > > working when I created and tested it month ago.
> > > > >
> > > > > Giacomo
> > > >
> > > > I like to second that!! I think it is very useful!!
> > > > One big sitemap can become a real mess... And it gives
> > > > a good plug-in-and-work feeling - well, not in the
> > > > current CVS version ;( but at least before the evil
> > > > bug appeared...
> > > > --
> > > > Torsten
> > > >
> > > > > > --- Berin Loritsch <bloritsch@apache.org> wrote:
> > > > > > > Davanum Srinivas wrote:
> > > > > > > >
> > > > > > > > Berin,
> > > > > > > >
> > > > > > > > Please take a look at this. i18n Transformer is defined
in i18n\sitemap.xmap as
> > > > > > > I18nTransformer2.
> > > > > > > > But C2 was using I18nTransformer which is defined
in the parent sitemap. I had to fix
> > > > the
> > > > > > > parent
> > > > > > > > sitemap to use I18nTransformer2 in the parent sitemap
to fix the problem.....
> > > > > > > >
> > > > > > > > The sub sitemap should be able to override parent's
definition? right?
> > > > > > >
> > > > > > > I'll see what I can do--but no promises.  I'm almost at
the place where I want to
> > > > > > > completely reimplement the Sitemap plumbing.
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > > > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > > > > >
> > > > > >
> > > > > >
> > > > > > =====
> > > > > > Davanum Srinivas, JNI-FAQ Manager
> > > > > > http://www.jGuru.com/faq/JNI
> > > > > >
> > > > > > __________________________________________________
> > > > > > Do You Yahoo!?
> > > > > > Spot the hottest trends in music, movies, and more.
> > > > > > http://buzz.yahoo.com/
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > 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
> > > >
> > >
> > >
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Spot the hottest trends in music, movies, and more.
> > > http://buzz.yahoo.com/
> > >
> > > ---------------------------------------------------------------------
> > > 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