Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 11574 invoked from network); 11 Oct 2005 09:16:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Oct 2005 09:16:44 -0000 Received: (qmail 58336 invoked by uid 500); 11 Oct 2005 09:16:43 -0000 Mailing-List: contact users-fr-help@cocoon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users-fr@cocoon.apache.org Delivered-To: mailing list users-fr@cocoon.apache.org Received: (qmail 58317 invoked by uid 99); 11 Oct 2005 09:16:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 02:16:43 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,SUBJECT_ENCODED_TWICE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of guillaume.helle@capgemini.com designates 194.3.247.82 as permitted sender) Received: from [194.3.247.82] (HELO mxepar01.capgemini.com) (194.3.247.82) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 02:16:44 -0700 Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j9B9GHJG025808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 11 Oct 2005 11:16:18 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j9B9GHH0017073 for ; Tue, 11 Oct 2005 11:16:17 +0200 (MEST) Received: from pasteur2.capgemini.fr (smtp.capgemini.fr [10.67.1.90]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j9B9GHW9017067 for ; Tue, 11 Oct 2005 11:16:17 +0200 (MEST) Received: from pasteur.capgemini.fr (localhost [127.0.0.1]) by pasteur2.capgemini.fr (8.12.10/8.12.10) with ESMTP id j9B9GFYB010603 for ; Tue, 11 Oct 2005 11:16:15 +0200 (MEST) Received: from L0853 ([10.67.216.89]) by pasteur.capgemini.fr (8.12.10/8.12.10) with SMTP id j9B9GEQJ010565 for ; Tue, 11 Oct 2005 11:16:14 +0200 (MEST) Received: from L0853 ([127.0.0.1]) by [127.0.0.1] with SMTP (SpamPal v1.591) sender ; 11 Oct 2005 11:16:22 +0200 Message-ID: <03d001c5ce44$72ab3cd0$59d8430a@sudouest.capgemini.fr> Reply-To: "Guillaume Helle" From: "Guillaume Helle" To: References: <4348DD55.9050609@ajlsm.com> <050d01c5cdb7$c1b7e1d0$59d8430a@sudouest.capgemini.fr> <434A9CDA.5090609@bluexml.org> <003e01c5cdbe$560f97f0$59d8430a@sudouest.capgemini.fr> <434AA3C1.9070003@apache.org> <005801c5cdc1$323d0850$59d8430a@sudouest.capgemini.fr> <434B6CBD.1030600@apache.org> Subject: =?UTF-8?Q?Re:_R=C3=A9cup=C3=A9ration_de_post_XML_dan?= =?UTF-8?Q?s_la_sitemap?= Date: Tue, 11 Oct 2005 11:16:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Merci pour la piste! Effectivement apr=C3=A8s avoir mis Cocoon en debug, je me suis aper=C3=A7u= que le content-type que j'envois est justement= application/x-www-form-urlencoded malgr=C3=A8s mon setting =C3=A0 text/xml= (probl=C3=A8me de version d'HTTPClient)=2E Ca pourrait mieux marcher ( ;-)) si maintenant je ne me r=C3=A9cup=C3= =A9rais pas l'exception suivante : Internal Server Error Message : Content is not allowed in prolog=2E Description: org=2Ea pache=2Ecocoon=2EProcessingException: Failed to= execute pipeline=2E: null:1:1:org=2Exml=2E sax=2ESAXParseException:= Content is not allowed in prolog=2E J'ai bien rectifi=C3=A9 le content-type "text/xml; charset=3DUTF-8" pour le= mettre en accord avecl'entete XML: String strXML =3D "coucou"; InputStream stream =3D new ByteArrayInputStream(strXML=2EgetBytes()); Mais il semblerait que d'autres carat=C3=A9res soient avout=C3=A9s au= stream XML (?!) Guillaume ----- Original Message -----=0D From: "Sylvain Wallez" =2E=2E=2E=2E > Cette erreur n'est lev=C3=A9e que si le content-type est=0D > application/x-www-form-urlencoded ou multipart/form-data, ce qui n'a pas= =0D > l'air d'=C3=AAtre ton cas ?!?!? >=0D > Par contre, le type mime "text/xml; charset=3DISO-8859-1" que tu sp=C3= =A9cifies=0D > est incoh=C3=A9rent avec l'ent=C3=AAte XML " encoding=3D\"UTF-8\"?>" >=0D > Sylvain This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E --------------------------------------------------------------------- Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org Autres commandes : mailto:users-fr-help@cocoon.apache.org