cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: including with entities
Date Fri, 04 Aug 2000 09:34:40 GMT
At 10:19 +0100 03/08/00, Jeremy Quinn wrote:
>>try xinclude (if you can get it to work!) it _does_ check for freshness of
>>included resources.
>
>I am having problems with both the XInclude processor and the
>util:include-file taglib.

I have fixed a bug that arose in the util:include-file logicsheet with my
particular setup.

There are two forms of the XSPUtil.relativeFilename() method, one takes a
Context object, one does not. The LogicSheet was using the version that
does not supply the Context object, the cause of my null pointer Exception.


Here is the Diff for the fix.

Index: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/util.xsl
===================================================================
RCS file:
/home/cvspublic/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/util.xsl,v
retrieving revision 1.17
diff -r1.17 util.xsl
136c136,137
<                    request
---
>                    request,
>                    (ServletContext) context


hope this helps

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

Mime
View raw message