cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: [Q][Cocoon 2] sitemap / web.xml and letting images through
Date Fri, 14 Jul 2000 06:40:36 GMT

--- Stuart Roebuck <sr@adolos.com> wrote:
> >Stuart Roebuck wrote:
> >>
> >>  I've just installed Cocoon 2 (appreciating that this is pre-release stuff)
> >>  - MacOS X, Tomcat 3.1 - I've been using Cocoon 1 for some time now under
> >>  Apache and/or Tomcat with no problems.
> >>
> >>  I set up my web.xml file to pass everything to Cocoon2 e.g.
> >>
> >>  <servlet-mapping>
> >>      <servlet-name>Cocoon2</servlet-name>
> >>      <url-pattern>/</url-pattern>
> >>  </servlet-mapping>
> >>
> >>  but then I have problems with my graphic files which are within the site -
> >>  Cocoon tries to process them.  As far as I know there is no option in the
> >>  Cocoon2 sitemap syntax to specify that certain URIs should just
> >>  'pass-through'.  [I guess this makes no-sense anyway, because there's no
> >>  point in sending stuff through Cocoon that doesn't need to go that way].
> >
> >The sitemap spec. has introduced the <map:read> element to pass throught
> >resources as they are. Read the xdocs/drafts/sitemap-working-draft.xmap
> 
> Thanks for the reply.
> 
> I've looked at the sitemap-working-draft.xmap file, and I have tried 
> to use it in my cocoon setup, but there's a lot of confusion around 
> here:
> 
> 1. The working example cocoon setup provided with the sample pages 
> does not conform to the sitemap-working-draft.xmap format at all.
>
> 2. The sitemap-working-draft.xmap file doesn't work in its place at 
> all, even after you remove the example extras and tidy up the odd 
> typo which prevents it from being proper XML.
>
> 3. If you try to place the <read> tag into the normal process tag of 
> the old style file it doesn't work.

Yep. That's why it's call working-draft. It's not yet implemented.

> 
> Now, I appreciate this is pre-release, so I'm not looking for anyone 
> to give any long explanations - I can work most things out from 
> working examples.  As far as I can put two-and-two together, the 
> whole sitemap thing is currently in a major stage of transition and 
> is possibly broken / not working yet.  The sitemap-working-draft.xmap 
> file shows how it should be, and the file in the samples, shows how 
> it was.

And it still needs some week until there will be a release which works with the working draft.

Giacomo


=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message