cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: XInclude in sitemap.xmap
Date Tue, 13 Nov 2012 04:49:04 GMT
I am doing two project.
A personal one with C3.0, and one for a product, and using C2.2.
This issue is happening with C3.0.

I didn't get a chance to test the files you sent me.

However, from the logs (which are really hard to read), it looks like
I am having issues with the baseUrl.
I looked into the source, and tried to set
baseUrl="full-path-to-my-repo", but that didn't work either.

Would be nice to see a document describing the attributes to be set on
each transformer.
A clear error message can be a lot of help as well.

Thank you.


On Mon, Nov 12, 2012 at 2:23 AM, Francesco Chicchiriccò
<ilgrosso@apache.org> wrote:
> On 12/11/2012 07:59, Mansour Al Akeel wrote:
>> Here's what I am doing:
>>
>>      <map:match pattern="article/{id}">
>>               <map:generate src="{global:base.repo.path}/articles/{map:id}/index.xml"
/>
>>               <map:transform type="xinclude" />
>>               <map:serialize type="xhtml"  />
>>
>> and this is error:
>> [...]
>
> Hi,
> did you take a look at sample sitemap.xmap [1] (around line 387) and
> specifically xinclude.xml [2]?
>
> BTW: which version are you running? From the reported stacktrace I
> understand C3, but some of your earlier questions were referring to C2.2....
>
> Regards.
>
> [1]
> https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap
> [2]
> https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/aggregation/xinclude.xml
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

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


Mime
View raw message