Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 50091 invoked by uid 500); 29 Nov 2002 09:34:37 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 50079 invoked from network); 29 Nov 2002 09:34:34 -0000 Sender: phil Message-ID: <3DE7354D.11150BEC@cti-paysloire.cnamts.fr> Date: Fri, 29 Nov 2002 10:37:17 +0100 From: LEBRETON Philippe Organization: CTI des Pays de Loire X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: fr, fr-FR MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: [HELP]Exception in ServerPagesGenerator.generate() Content-Type: multipart/mixed ; boundary="----=_NextPartTM-000-34eb71e9-fd64-11d6-937a-00a0c9ecda18" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-34eb71e9-fd64-11d6-937a-00a0c9ecda18 Content-Type: multipart/alternative ; boundary="------------3CFCDF5FF18F9E0D9FDBC83B" --------------3CFCDF5FF18F9E0D9FDBC83B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I want include a String with a content XML in my XML and i used : Car.toString() Car is declared : StringBuffer Car = new StringBuffer(); Car content : 1 1 Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not include page Content is not allowed in prolog. Help me. Whereis the problem. This expression work with Cocoon 2.0.2 and not with Cocoon 2.0.3 Thanks Philippe LEBRETON --------------3CFCDF5FF18F9E0D9FDBC83B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I want include a String with a content XML in my XML and i used :
<util:include-expr><util:expr><xsp:expr>Car.toString()</xsp:expr></util:expr></util:include-expr>
Car is declared :
StringBuffer Car = new StringBuffer();
Car content :
<bdo>
<Pac>1</Pac>
<TP>1</TP>
</bdo>
Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate():
java.lang.RuntimeException: Could not include page Content is not allowed in prolog.
Help me.
Whereis the problem.
This expression work with Cocoon 2.0.2 and not with Cocoon 2.0.3

Thanks

Philippe LEBRETON --------------3CFCDF5FF18F9E0D9FDBC83B-- ------=_NextPartTM-000-34eb71e9-fd64-11d6-937a-00a0c9ecda18 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: ------=_NextPartTM-000-34eb71e9-fd64-11d6-937a-00a0c9ecda18--