Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC60E200B6F for ; Wed, 24 Aug 2016 13:21:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BAFA3160AB1; Wed, 24 Aug 2016 11:21:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DB0E4160AA4 for ; Wed, 24 Aug 2016 13:21:05 +0200 (CEST) Received: (qmail 15152 invoked by uid 500); 24 Aug 2016 11:21:04 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 15136 invoked by uid 99); 24 Aug 2016 11:21:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 11:21:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BA3191A0050 for ; Wed, 24 Aug 2016 11:21:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.247 X-Spam-Level: X-Spam-Status: No, score=-0.247 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id otGNszN006_Z for ; Wed, 24 Aug 2016 11:21:02 +0000 (UTC) Received: from nm2-vm1.bullet.mail.ne1.yahoo.com (nm2-vm1.bullet.mail.ne1.yahoo.com [98.138.91.33]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 914705FBCE for ; Wed, 24 Aug 2016 11:21:01 +0000 (UTC) Received: from [98.138.226.180] by nm2.bullet.mail.ne1.yahoo.com with NNFMP; 24 Aug 2016 11:21:00 -0000 Received: from [98.138.89.168] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 24 Aug 2016 11:21:00 -0000 Received: from [127.0.0.1] by omp1024.mail.ne1.yahoo.com with NNFMP; 24 Aug 2016 11:21:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 206559.18410.bm@omp1024.mail.ne1.yahoo.com X-YMail-OSG: 8tdLa.wVM1lFNi5FTFpBMtx4u.lsNoQtKBEQJPGQJiLjwmS24.BlMkMLyhX46Nb QEEzlil2bP3wS2BdkBkw51yKgRs8nkuoohgi3o.z5uOhDgCMSb6uBdzLIOtZAR2TMAARxcgj7wER B.BEtwo_.lpb9BPtaTfo1BOjDSeGpXJlyEqHaV7qaORcW4GnIMBcb6OESeVAs6PAlOByHnv3jdH9 DYPUp6_bmrb0QzHxEz6HnWf4hS7cQQQ_9Eayw0YpinvGiwMZzQI2sc3eZAkvebVHY84sdrFU5zI7 D60IC9Oo6uzEUxyzQVbaFW5pG2crzG6_0g58Ch_UC2S.mkk19Spv8F.wcy6cMvWijOMHy3A7QouX F7Gl0XSwFtw1IfcZA5pEbQHcoeL6oXTVZBBYMOIP5NYUKJwfmjpl.KDYYW9I1k9vmemDoeKj7YVk 9dD7EP9rdnWIxxr7MWSdu2A7Ek9Sa3D.fnfVf945aMBXxqM1Nzk3gMxSaIFmTTgm9Gg2j5rQzwiS 17Ik9Ixn_1wHDa5WLN_Q- Received: from jws100227.mail.ne1.yahoo.com by sendmailws135.mail.ne1.yahoo.com; Wed, 24 Aug 2016 11:20:59 +0000; 1472037659.751 Date: Wed, 24 Aug 2016 11:20:59 +0000 (UTC) From: Artur Synowiec Reply-To: Artur Synowiec To: "users@cocoon.apache.org" Message-ID: <1041937861.1408022.1472037659453@mail.yahoo.com> Subject: Cocoon 3 sitemap setup MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1408021_9389061.1472037659449" References: <1041937861.1408022.1472037659453.ref@mail.yahoo.com> archived-at: Wed, 24 Aug 2016 11:21:06 -0000 ------=_Part_1408021_9389061.1472037659449 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I need some help with setting up Cocoon 3 sitemap. I have used Cocoon 2.1 and 2.2 in the past and enjoyed the simplicity of th= e XML transformationusing sitemap language. Now I would like to get a hand of Cocoon 3. I've successfully managed to in= tegrateC3 pipeline processor with other Java applications (based on Spring = Boot) butI would love to make it work again with sitemap. I can see a few e= xamples on the webof people using C3 inside their apps but couldn't see any= example of mounting a sitemap.xmap Ideally I would like to integrate it with a Spring Boot app and mount=C2=A0= XMLSitemapServlet in there.I have managed to do it using a class implementi= ng Spring's ServletContextInitializer but I'm getting this exception: java.lang.IllegalStateException: Received closing 'match' but there was no = node to close.I think it could be something to do with creating a Spring be= an of=C2=A0org.apache.cocoon.sitemap.node.SitemapNode/sitemapwhich is neede= d for=C2=A0SitemapNodeFactory's=C2=A0createNode() method. I would appreciate any help on this. Regards,Artur ------=_Part_1408021_9389061.1472037659449 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I need some help with setting up= Cocoon 3 sitemap.

I have used Cocoon 2.1 and 2.2 in the past and enjoyed the simplici= ty of the XML transformation
using sitemap language.

Now I would like to get a hand of Cocoon = 3. I've successfully managed to integrate
C3 pipeline processor with other Java app= lications (based on Spring Boot) but
I would love to make it work again with sitema= p. I can see a few examples on the web
of people using C3 inside their apps but cou= ldn't see any example of mounting a sitemap.xmap

Ideally I would like to integrate it with a Spring= Boot app and mount XMLSitemapServlet in there.
I have managed to do it using = a class implementing Spring's ServletContextInitializer but I'm getting thi= s exception:

=
java.lang.Ill= egalStateException: Received closing 'match' but there was no node to close= .
I thin= k it could be something to do with creating a Spring bean of org.apach= e.cocoon.sitemap.node.SitemapNode/sitemap
which is needed for SitemapNodeFacto= ry's createNode() method.

I would appreciate any help on this.

Regards,
Artur
= ------=_Part_1408021_9389061.1472037659449--