cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: [C2] cocoon:/ url's don't work from root to subsitemap
Date Tue, 04 Sep 2001 14:39:07 GMT
I do not see this problem. C2.0 + TC4.0b6.

Vadim

> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> Sent: Tuesday, September 04, 2001 10:06 AM
> To: cocoon-dev@xml.apache.org
> Subject: AW: [C2] cocoon:/ url's don't work from root to subsitemap
>
>
> No, it's not a Catalina issue. I can reproduce this with 3.2.
>
> I traced it down to the invoke() method of the Manager. The
> context url is now reset in the finally clause, so the
> environment looses the information that it belongs
> to a subsitemap.
> I am currently testing a solution for this. Perhaps I get
> it working today.
>
> Carsten
>
> > -----Ursprüngliche Nachricht-----
> > Von: Giacomo Pati [mailto:giacomo@apache.org]
> > Gesendet: Dienstag, 4. September 2001 16:01
> > An: cocoon-dev@xml.apache.org
> > Betreff: Re: AW: [C2] cocoon:/ url's don't work from root to subsitemap
> >
> >
> > Quoting Carsten Ziegeler <cziegeler@sundn.de>:
> >
> > > One quick question: Is this still a bug?
> >
> > Yes, I haven't found the reason so far :/
> >
> > Also, I don't know if it is a Catalina issue. If you point your
> > browser to
> > http://localhost:8080/cocoon/ you get redirected to
> > http://localhost:8080/welcome. This doen't happen under Tomcat 3.2.x
> >
> > Giacomo
> >
> > >
> > > Carsten
> > >
> > > > -----Ursprungliche Nachricht-----
> > > > Von: giacomo [mailto:giacomo@apache.org]
> > > > Gesendet: Sonntag, 2. September 2001 12:20
> > > > An: Davanum Srinivas
> > > > Cc: cocoon-dev@xml.apache.org
> > > > Betreff: RE: [C2] cocoon:/ url's don't work from root to subsitemap
> > > >
> > > >
> > > > On Thu, 30 Aug 2001, Davanum Srinivas wrote:
> > > >
> > > > I'll try to find some time soon.
> > > >
> > > > Giacomo
> > > >
> > > > > Giacomo,
> > > > >
> > > > > This problem has been bugging me for days now. Do you have some
> > > > time to fix it? basically try
> > > > > running http://localhost:8080/cocoon/sub/welcome.source. This
> > > > fails because of some problems with
> > > > > the cocoon: protocol.
> > > > >
> > > > > Thanks,
> > > > > dims
> > > > >
> > > > > --- Davanum Srinivas <dims@yahoo.com> wrote:
> > > > > > Vadim,
> > > > > >
> > > > > > I was able to progress a bit more. See latest C2.1 CVS. Now
> > > > the problem is that after we get a
> > > > > > changeContext to switch to the sub-sitemap, there are two
> > > > setContext()'s called with the
> > > > > > parent's
> > > > > > URL. Can you please pick it up from here....
> > > > > >
> > > > > > Thanks,
> > > > > > dims
> > > > > >
> > > > > > --- Vadim Gritsenko <vgritsenko@hns.com> wrote:
> > > > > > > Dims,
> > > > > > >
> > > > > > > It looks like you are back from your vacation.
> > > > > > > I think I also found same problem - take a look at
> > > > > > > subsitemap (http://localhost:8080/cocoon/sub/) - I added
> > > > > > > more examples there, but did not manage the time to track
> > > > down the problem.
> > > > > > >
> > > > > > > Vadim
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Davanum Srinivas [mailto:dims@yahoo.com]
> > > > > > > > Sent: Thursday, August 23, 2001 2:00 PM
> > > > > > > > To: cocoon-dev@xml.apache.org
> > > > > > > > Subject: Re: [C2] cocoon:/ url's don't work from root
to
> > > > subsitemap
> > > > > > > >
> > > > > > > >
> > > > > > > > Dev Team,
> > > > > > > > Can some one look into this? I have added a test case
for
> > > > this in C2.1 CVS.
> > > > > > > >   - Try http://localhost:8080/cocoon/welcome.source
-
> > > > THIS WORKS!!!
> > > > > > > >   - Try http://localhost:8080/cocoon/sub/welcome.source
-
> > > > THIS DOES NOT WORK!!!!
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > dims
> > > > > > > >
> > > > > > > > PS: FYI, Am on a mini vacation till Aug 28th.
> > > > > > > >
> > > > > > > > --- Stuart Roebuck <stuart.roebuck@adolos.co.uk>
wrote:
> > > > > > > > > I've got a root sitemap containing the following
simple
> > > matcher:
> > > > > > > > >
> > > > > > > > > >       <!-- UTILITY FOR VIEWING SOURCE
XML OR HTML -->
> > > > > > > > > >
> > > > > > > > > >       <map:match pattern="**.source">
> > > > > > > > > >           <map:generate src="cocoon://{1}"
/>
> > > > > > > > > >           <map:transform
> > > > src="transform/general/serialize_xml.xslt" />
> > > > > > > > > >           <map:serialize />
> > > > > > > > > >       </map:match>
> > > > > > > > >
> > > > > > > > > It simply takes any url that returns XML followed
by
> > > > ".source" and returns
> > > > > > > > > it as an HTML representation. ( - my browser
doesn't
> > > > like displaying
> > > > > > > > > straight XML)
> > > > > > > > >
> > > > > > > > > However, this doesn't work for a url referring
to a
> > > > sub-sitemap, such as:
> > > > > > > > >
> > > > > > > > > 	cocoon://subsitemap/information.xml
> > > > > > > > >
> > > > > > > > > *BUT*
> > > > > > > > >
> > > > > > > > > It does work for this *incorrect* url:
> > > > > > > > >
> > > > > > > > > 	cocoon://subsitemap/subsitemap/information.xml
> > > > > > > > >
> > > > > > > > > e.g.:
> > > > > > > > >
> > > > > > > > >
> > > > http://localhost:8080/subsitemap/subsitemap/information.xml.source
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Stuart.
> > > > > > > > >
> > > > > > > > >
> > > >
> > >
> > -------------------------------------------------------------------------
> > > > > > > > > Stuart Roebuck
> > > > stuart.roebuck@adolos.com
> > > > > > > > > Lead Developer                              
Java, XML,
> > > > MacOS X, XP, etc.
> > > > > > > > > ADOLOS
> > > <http://www.adolos.com/>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > > 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!?
> > > > > > > Make international calls for as low as $.04/minute with
Yahoo!
> > > Messenger
> > > > > > > http://phonecard.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
> > > > >
> > > > >
> > > > > =====
> > > > > 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/
> > > > >
> > > >
> > > >
> > > > =====
> > > > Davanum Srinivas, JNI-FAQ Manager
> > > > http://www.jGuru.com/faq/JNI
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > > Messenger
> > > > http://im.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
> 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


Mime
View raw message