Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F51E99FE for ; Fri, 30 Mar 2012 17:33:20 +0000 (UTC) Received: (qmail 855 invoked by uid 500); 30 Mar 2012 17:33:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 705 invoked by uid 500); 30 Mar 2012 17:33:18 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 685 invoked by uid 99); 30 Mar 2012 17:33:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 17:33:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jpuerto@gmail.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-lpp01m010-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 17:33:13 +0000 Received: by laap9 with SMTP id p9so1243162laa.24 for ; Fri, 30 Mar 2012 10:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ps5yo0F8aaQZmBJ99vjiDh1+vz79g77OyxBvP8T8Eik=; b=AlZ6isft49qi1+dgXrUjCdMvar8JYLy3ag2Pq2I0xEEt0W+a7mZS44EQh2vQyzdj7B j+2s1ZCqumiw3PO4yVKZvAFgy3YI2pgBFWWyVIaMWZxutna9qDaw29W9Jgkiw5WbWE0A vBqbKWlV437G0015ksPqc14pHJANzA71OILs9mW3015G43Kj7Ie8Ct1NglDMH7b/zLa8 YHN8ZXb7bIOLe9wM82tUqV0bQdZpgtjC1NDNWKR8RR6fYFUYSxhnQnU7e+7zwJGBtMPN OcnKZPapFhspmGOrgUgiJh8T1GjY6nFz5sx/s0M4wUY6s8V2pPeHUorRNCYjbBCMhYPB jCiQ== MIME-Version: 1.0 Received: by 10.152.133.68 with SMTP id pa4mr3330325lab.12.1333128771644; Fri, 30 Mar 2012 10:32:51 -0700 (PDT) Received: by 10.112.21.228 with HTTP; Fri, 30 Mar 2012 10:32:51 -0700 (PDT) In-Reply-To: <4F7325CB.7060807@sil.org> References: <4F6CD848.9000400@sil.org> <4F708060.103@sil.org> <4F7081FC.6040302@apache.org> <4F709D91.6060601@gmail.com> <4F720B4B.2030405@sil.org> <4F723BAE.2060900@gmail.com> <4F7325CB.7060807@sil.org> Date: Fri, 30 Mar 2012 19:32:51 +0200 Message-ID: Subject: Re: c3: null pointer exception in ResponseHeaderCollector.isModifiedResponse From: Javier Puerto To: Lars Huttar Cc: dev@cocoon.apache.org Content-Type: multipart/alternative; boundary=f46d04374a9bdfac8804bc793a47 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04374a9bdfac8804bc793a47 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable El 28 de marzo de 2012 16:52, Lars Huttar escribi=F3: > On 3/28/2012 3:11 AM, Javier Puerto wrote: > >> Lars, to be easier to download your sample I think that is better if you >> do a "mvn clean" first to avoid all the maven generated stuff also if y= ou >> create a .zip file with all the stuff it could be better. >> >> > Javier, > I did a "mvn clean" in "theParent" folder, and also in the child > "ethnologue-17-pub" (block) folder. > I then zipped up the whole "theParent" tree, and put it at > http://www.huttar.net/tmp/c3/**theParent.7z > (7zip archive). > Thanks for the job, I was be able to download and deploy in 5m. ;) I've tested on Linux with the same error so I've inspected the sitemap.xmap closer and the problems was a missing pipeline declaration: .... Last matcher is orphan, it must be declared in a pipeline tag, it works as expected after the change. Does anybody know why C3 is not validating the xmap before executing it? I mean, the "test.html" matcher works but not the illegal declaration and the error thrown is not very helpful. I see the sitemap XSD placed at trunk/cocoon-sitemap/src/main/resources/cocoon-sitemap-1.0.xsd But I can't see any references in the current project to that file, Can we add validation to xmap files with the XSD schema? Salu2. > > Thanks again, > Lars > > > --f46d04374a9bdfac8804bc793a47 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

El 28 de marzo de 2012 16:52, Lars Hutta= r <lars_huttar@= sil.org> escribi=F3:
On 3/28/2012 3:11 AM, Javier Puerto wrote:
Lars, to be easier to download your sample I think that is better if you do= a "mvn clean" first to avoid all the =A0maven generated stuff al= so if you create a .zip file with all the stuff it could be better.


Javier,
I did a "mvn clean" in "theParent" folder, and also in = the child "ethnologue-17-pub" (block) folder.
I then zipped up the whole "theParent" tree, and put it at http://ww= w.huttar.net/tmp/c3/theParent.7z
(7zip archive).

Thanks for the job, I was be able = to download and deploy in 5m. ;)
I've tested on Linux with the same = error so I've inspected the=20 sitemap.xmap closer and the problems was a missing pipeline declaration:
<map:pipelines>
=A0=A0=A0 <map:pipeline>
=A0=A0=A0=A0=A0 <map:match pattern=3D"test.html">
=A0=A0=A0=A0=A0=A0=A0 <map:read src=3D"test.html" />
=A0=A0=A0=A0=A0 </map:match>
=A0=A0=A0 </map:pipeline>=A0=A0=A0

=A0=A0=A0 <map:match pattern=3D"generator/languages-in-country/coun= try_id/77/source">
....

Last matcher is orphan, it must be declared in a pipeline tag, it works as = expected after the change.

Does anybody know why C3 is not validating the xmap before executing it? I = mean, the "test.html" matcher works but not the illegal declarati= on and the error thrown is not very helpful. I see the sitemap XSD placed a= t trunk/cocoon-sitemap/src/main/resources/cocoon-sitemap-1.0.xsd
But I can't see any references in the current project to that file, Can= we add validation to xmap files with the XSD schema?

Salu2.
=A0<= /div>

Thanks again,
Lars



--f46d04374a9bdfac8804bc793a47--