Re: XInclude in sitemap.xmap

Mansour Al Akeel <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <CAFvvX=ZttjC+OM9LN+17KWMGFg6SmPPEa1dw+DOg3xxwCCKm_w@mail.gmail.com>
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ò
<[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.