cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: [Fwd: bug 2737 still exists...xsp compilation package]
Date Tue, 24 Jul 2001 17:28:12 GMT
Berin Loritsch wrote:

> > > For example you have two subsite maps "test1" and
> > > "test2"..
> > >
> > > 1. Have same pattern and same src path in xmap's of
> > > both sitemaps
> > >
> > > 2. But the content of the xsp served is different.
> > >
> > > 3. I anticipate both xsp to be compiled into different
> > > packages based on sitemaps and result in separate
> > > content..

Here is what I am seeing:


In test1.xmap (mounted at "foo/")

<map:match pattern="index.html">
  <map:generate type="serverpages" src="index.xsp"/>

Same thing is in test2.xmap (mounted at "bar/")

In this scenario BOTH subsitemaps are pointing to the
same resource--literally.

If it is altered:


With the same content in the sitemaps, they are pointing
to different resources--logically and literally

The disconect is what the guy is "logically" expecting may
be different from what is actually happening.

In the first example, the FQCN _should_ be:


In the second example, the FQCN _should_ be:


If this is not happening, then we need to ensure that it does

In the cases where the resource is outside the context
directory, the final package name should be something
like this:

if the resource was in C:\other\directory\test3.xmap
View raw message