Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 44824 invoked from network); 10 Nov 2005 14:12:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Nov 2005 14:12:28 -0000 Received: (qmail 50963 invoked by uid 500); 10 Nov 2005 14:11:40 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 50901 invoked by uid 500); 10 Nov 2005 14:11:40 -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 50890 invoked by uid 99); 10 Nov 2005 14:11:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 06:11:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.90.198.164] (HELO frodo.cybernet.ch) (212.90.198.164) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 06:11:31 -0800 Received: from cs02.thalwil.less.ch (adsl-213-180-175-1.cybernet.ch [213.180.175.1]) by frodo.cybernet.ch (8.13.4/8.13.4) with ESMTP id jAAEBAVa041489 for ; Thu, 10 Nov 2005 15:11:11 +0100 (CET) (envelope-from raffaele.merico@less.ch) Received: by cs02.thalwil.less.ch with Internet Mail Service (5.5.2653.19) id ; Thu, 10 Nov 2005 15:11:06 +0100 Message-ID: From: Merico Raffaele To: users@cocoon.apache.org Subject: AW: xmlize in jx and 'NOT_FOUND is not a function' Date: Thu, 10 Nov 2005 15:11:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.52 on 212.90.198.164 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Upayavira Instead of the solution below with the 'stringToSAX' JavaScript = function I have solved the xmlize problem with the following statement in the JavaScript.=20 var xmlizableWspResult =3D new org.apache.cocoon.xml.StringXMLizable(xmlString); The jx template now just contains a simple=20 More elegant, isn't it ... many thanks for your support ... Raffaele > -----Urspr=FCngliche Nachricht----- > Von: Upayavira [mailto:uv@odoko.co.uk] > Gesendet: Donnerstag, 10. November 2005 09:55 > An: users@cocoon.apache.org > Betreff: Re: xmlize in jx and 'NOT_FOUND is not a function' >=20 > Merico Raffaele wrote: > > Dear community > > > > Im using cocoon 2.1.7 and I have implemented the xmlize = functionality > > according to > > = http://marc.theaimsgroup.com/?l=3Dxml-cocoon-dev&m=3D108680748429717&w=3D= 2. > But > > now I get the following error 'NOT_FOUND is not a function'. > > > > Any help would be very appreciated ... many thanks in advance ... > Raffaele >=20 > A guess, could you try: >=20 > > > > value=3D"${cocoon.session.getAttribute('stringToSAX')( value, > cocoon.consumer, ignoreRoot )}"/> > >=20 > as your macro. Something did change, to do with accessing > session/request I think, just not sure when. I'm also not sure = whether > this is valid syntax. :-( >=20 > Regards, Upayavira >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org