You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Enke, Michael" <mi...@wincor-nixdorf.com> on 2002/11/15 14:59:17 UTC
default attr for transformer not inherited in subsitemaps?
I have defined in my sitemap.xmap <transformer default="xslt".../>
In a mounted sitemap I have also a transformer tag but I omitted the
default attribute (I thought it would be inherited from parent sitemap)
and got this exception:
org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/home/me/NEW/webapp/reports/sitemap.xmap: org.apache.avalon.framework.configuration.ConfigurationException:
No default type
exists for 'transform' at file:/home/me/NEW/webapp/reports/sitemap.xmap:31:47
Is this a bug or not?
Regards,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: default attr for transformer not inherited in subsitemaps?
Posted by Vadim Gritsenko <va...@verizon.net>.
Enke, Michael wrote:
>Vadim Gritsenko wrote:
>
>
>>Enke, Michael wrote:
>>
>>
>>
>>>I have defined in my sitemap.xmap <transformer default="xslt".../>
>>>In a mounted sitemap I have also a transformer tag but I omitted the
>>>default attribute (I thought it would be inherited from parent sitemap)
>>>and got this exception:
>>>
>>>
>>>org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/home/me/NEW/webapp/reports/sitemap.xmap: org.apache.avalon.framework.configuration.ConfigurationException:
>>>No default type
>>>exists for 'transform' at file:/home/me/NEW/webapp/reports/sitemap.xmap:31:47
>>>
>>>
>>>Is this a bug or not?
>>>
>>>
>>>
>>If this is compiled sitemap then this is not a bug. It must know default
>>to do the compilation.
>>
>>
>
>
>It is 2.1 head
>
It does not have compiled sitemap engine at all. So you can disregard my
comment.
Vadim
>:
> <sitemap check-reload="yes" config="resource://org/apache/cocoon/components/treeprocessor/treeprocessor-builtins.xml" file="context://sitemap.xmap" logger="sitemap"/>
>
>This is not compiled, isn't it?
>
>
>
>>Vadim
>>
>>
>
>Michael
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: default attr for transformer not inherited in subsitemaps?
Posted by "Enke, Michael" <mi...@wincor-nixdorf.com>.
Vadim Gritsenko wrote:
>
> Enke, Michael wrote:
>
> >I have defined in my sitemap.xmap <transformer default="xslt".../>
> >In a mounted sitemap I have also a transformer tag but I omitted the
> >default attribute (I thought it would be inherited from parent sitemap)
> >and got this exception:
> >
> >
> > org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/home/me/NEW/webapp/reports/sitemap.xmap: org.apache.avalon.framework.configuration.ConfigurationException:
> >No default type
> > exists for 'transform' at file:/home/me/NEW/webapp/reports/sitemap.xmap:31:47
> >
> >
> >Is this a bug or not?
> >
>
> If this is compiled sitemap then this is not a bug. It must know default
> to do the compilation.
It is 2.1 head:
<sitemap check-reload="yes" config="resource://org/apache/cocoon/components/treeprocessor/treeprocessor-builtins.xml" file="context://sitemap.xmap" logger="sitemap"/>
This is not compiled, isn't it?
> Vadim
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: default attr for transformer not inherited in subsitemaps?
Posted by Vadim Gritsenko <va...@verizon.net>.
Enke, Michael wrote:
>I have defined in my sitemap.xmap <transformer default="xslt".../>
>In a mounted sitemap I have also a transformer tag but I omitted the
>default attribute (I thought it would be inherited from parent sitemap)
>and got this exception:
>
>
> org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/home/me/NEW/webapp/reports/sitemap.xmap: org.apache.avalon.framework.configuration.ConfigurationException:
>No default type
> exists for 'transform' at file:/home/me/NEW/webapp/reports/sitemap.xmap:31:47
>
>
>Is this a bug or not?
>
If this is compiled sitemap then this is not a bug. It must know default
to do the compilation.
Vadim
>
>Regards,
>Michael
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org