Davanum Srinivas wrote:
>
> Berin,
>
> I added a couple of lines yesterday (After Beta2) in ProgramGeneratorImpl.java and
>was trying to
> see how it affects thie Bug# 2737. the lines are 147,148 in
>ProgramGeneratorImpl.java. Do you want
> me take a look? Do you want me to remove it?
If the Cocoon did what I thought that it did (relative path inside the context),
then this guy shouldn't be experiencing the problems he is facing. I know it is
working correctly on my machine--so the question is how is this happening?
If it is possible, we could use a mini context that has _just_ enough information
to cause the problem reliably/consistently.
I think that adding arbitrary bits to the XSP normalized name is not the answer.
I haven't understood exactly how this guy has his stuff set up anyway.
>
> Thanks,
> dims
>
> --- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> > I could have sworn the compiled components used the relative
> > path in the context for the final package/class names.
> >
> > When did this change? Why did this change?
> >
> > -------- Original Message --------
> > Subject: bug 2737 still exists...xsp compilation package
> > Date: Tue, 24 Jul 2001 17:35:17 +0100 (BST)
> > From: java guru <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: cocoon users <[EMAIL PROTECTED]>
> > CC: [EMAIL PROTECTED]
> >
> > Hi.,
> > I am checking on the the previously reported bug
> > 2737. I think the problem still exists.
> >
> > Following is the scenario after bug fix
> >
> > 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..
> >
> > After bugfix is applied this is what happening..
> >
> > xsp are compiled into package according to the
> > following rules(at least what i observed is)
> >
> > 1. Prefix with org.apache.cocoon.www
> > 2. attach the request pattern specified in xmap
> > 3. attach the src specified in xmap for the pattern..
> >
> > Please observe point 2..when considering the pattern,
> > c2 is not considering the subsitemap name as part of
> > pattern name. Its only considering the pattern
> > specified in xmap..
> >
> > So again, for example
> > if subsitemaps test1, test2 both have pattern
> > /form/testform,
> > src pointing to docs/forms/index.xsp
> >
> > Now c2 is preparing the xsp code like
> > org/apache/cocoon/www/form/testform/docs/forms/index_xsp.java
> > which is gonna be same for both subsitemap
> > compilations
> >
> >
> > =====
> > Thanks and have great day
> > srini
> >
> > ____________________________________________________________
> > Do You Yahoo!?
> > For regular News updates go to http://in.news.yahoo.com
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
> > ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
S/MIME Cryptographic Signature