cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject [Fwd: bug 2737 still exists...xsp compilation package]
Date Tue, 24 Jul 2001 16:52:07 GMT
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 <javacocoon@yahoo.co.in>
Reply-To: cocoon-users@xml.apache.org
To: cocoon users <cocoon-users@xml.apache.org>
CC: dims@yahoo.com

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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
Mime
View raw message