cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: xmlize in jx and 'NOT_FOUND is not a function'
Date Thu, 10 Nov 2005 08:55:13 GMT
Merico Raffaele wrote:
> Dear community
> Im using cocoon 2.1.7 and I have implemented the xmlize functionality
> according to
> But
> now I get the following error 'NOT_FOUND is not a function'.
> Any help would be very appreciated ... many thanks in advance ... Raffaele

A guess, could you try:

<jx:macro name="xmlize">
 		<jx:parameter name="value"/>
 		<jx:parameter name="ignoreRoot" default="false"/>
 		<jx:set var="ignored"
value="${cocoon.session.getAttribute('stringToSAX')( value,
cocoon.consumer, ignoreRoot )}"/>

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. :-(

Regards, Upayavira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message