You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Per Kreipke <pe...@onclave.com> on 2002/07/01 20:46:21 UTC

RE: Is interpreted sitemap in 2.0.3

> It is also in 2.0.3. If you look towards the bottom of 
> cocoon.xconf, there are 
> comments indicating what you need to do to enable it.

Ah. Thank you. My bad, hadn't thought to look there. 

Per


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Interpreted sitemap failing in 2.0.3

Posted by Per Kreipke <pe...@onclave.com>.
Can anyone help? Can't get interperted sitemap to run.

Thanks in advance, Per Kreipke

> > > I'm getting an error that a generator for type 'file' doesn't
> exist when
> > > inf fact (as in many examples) it refers to the calling sitemap
> > (the cocoon
> > > default map).
> > >
> > > Do I need to create a stand alone sitemap?
> >
> > Do you still have a map:generators section under you
> > map:components section un
> > your subsitemap? The interpreted sitemap may require an element,
> > even if it
> > is empty.
>
> I do and it is empty :-) THis is the whole section:
>
>
> <!-- This sitemap is mounted from the cocoon default sitemap -->
> <map:components>
>  <map:generators default="file"/>
>  <map:transformers default="xslt"/>
>  <map:readers default="resource"/>
>  <map:serializers default="html"/>
>  <map:selectors default="browser"/>
>  <map:matchers default="wildcard">
>   <map:matcher logger="sitemap.matcher.session"name="session-attribute"
>    src="org.apache.cocoon.matching.SessionAttributeMatcher" />
>  </map:matchers>
>
>  <map:actions>
>   <map:action logger="sitemap.action.session-create" name="session-create"
>     src="org.onclave.SessionCreateAction">
>    <currentAgency>us</currentAgency>
>   </map:action>
>  </map:actions>
> </map:components>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Is interpreted sitemap in 2.0.3

Posted by Per Kreipke <pe...@onclave.com>.
> On Monday 01 July 2002 03:07 pm, Per Kreipke wrote:
> > A question: does the interpreted sitemap not support mounted
> directories?
> >
> > I'm getting an error that a generator for type 'file' doesn't exist when
> > inf fact (as in many examples) it refers to the calling sitemap
> (the cocoon
> > default map).
> >
> > Do I need to create a stand alone sitemap?
>
> Do you still have a map:generators section under you
> map:components section un
> your subsitemap? The interpreted sitemap may require an element,
> even if it
> is empty.

I do and it is empty :-) THis is the whole section:


<!-- This sitemap is mounted from the cocoon default sitemap -->
<map:components>
 <map:generators default="file"/>
 <map:transformers default="xslt"/>
 <map:readers default="resource"/>
 <map:serializers default="html"/>
 <map:selectors default="browser"/>
 <map:matchers default="wildcard">
  <map:matcher logger="sitemap.matcher.session"name="session-attribute"
   src="org.apache.cocoon.matching.SessionAttributeMatcher" />
 </map:matchers>

 <map:actions>
  <map:action logger="sitemap.action.session-create" name="session-create"
    src="org.onclave.SessionCreateAction">
   <currentAgency>us</currentAgency>
  </map:action>
 </map:actions>
</map:components>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Is interpreted sitemap in 2.0.3

Posted by Peter Royal <pr...@apache.org>.
On Monday 01 July 2002 03:07 pm, Per Kreipke wrote:
> A question: does the interpreted sitemap not support mounted directories?
>
> I'm getting an error that a generator for type 'file' doesn't exist when
> inf fact (as in many examples) it refers to the calling sitemap (the cocoon
> default map).
>
> Do I need to create a stand alone sitemap?

Do you still have a map:generators section under you map:components section un 
your subsitemap? The interpreted sitemap may require an element, even if it 
is empty.
-pete

-- 
peter royal -> proyal@apache.org

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Is interpreted sitemap in 2.0.3

Posted by Per Kreipke <pe...@onclave.com>.
Peter,

A question: does the interpreted sitemap not support mounted directories?

I'm getting an error that a generator for type 'file' doesn't exist when inf
fact (as in many examples) it refers to the calling sitemap (the cocoon
default map).

Do I need to create a stand alone sitemap?

Per

> -----Original Message-----
> From: Per Kreipke [mailto:per@onclave.com]
> Sent: Monday, July 01, 2002 2:46 PM
> To: cocoon-users@xml.apache.org
> Subject: RE: Is interpreted sitemap in 2.0.3
>
>
> > It is also in 2.0.3. If you look towards the bottom of
> > cocoon.xconf, there are
> > comments indicating what you need to do to enable it.
>
> Ah. Thank you. My bad, hadn't thought to look there.
>
> Per
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>