cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: TreeProcessor incompatibility with compiled engine
Date Sun, 14 Apr 2002 05:02:51 GMT
On Sat, 13 Apr 2002, Vadim Gritsenko wrote:

> Hello,
>
> Found this when tried tree processor on my sitemap:
>
> org.apache.avalon.framework.configuration.ConfigurationException: There
> must be at least one part in map:aggregate at
> file:/C:/.../sitemap.xmap:125:48
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.AggregateNodeBuilder.
> buildNode(AggregateNodeBuilder.java:158)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeB
> uilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:156)
>
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeB
> uilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:172)
>
>
> When using construct like:
>
>         <map:match pattern="part/categories/">
>           <map:aggregate element="categories"/>
>           <map:serialize type="xml"/>
>         </map:match>
>
> This works fine in compiled sitemap engine. Is there anybody against
> fixing this incompatibility? Possible solution could be log a warning
> instead of failing hard - if majority considers this functionality is
> not desirable.

Actually I don't know why this works with the compiled sitemap. My
understanding is that it shouldn't. I would vote to correct the
sitemap.xsl to fail hard as the TreeProcessor.

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message