cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: New toSAX method in SourceUtil should have different name
Date Sun, 25 Sep 2005 16:06:33 GMT
On 13.09.2005 11:05, Wicksteed, Charles wrote:

> A new toSAX() method was introduced in
> org/apache/cocoon/components/source/ in version 165317,
> when some refactoring was done to clean up the exception handling.  This
> causes a problem when you try to call toSAX() from Flowscript with
> certain arguments, because the Flowscript interpreter can't work out
> which of the toSAX() methods to call.  I think the new method needs to
> have a different name and/or be made private.  It is not actually on the
> same level as the existing toSAX() methods, but is called from them.

IMO we should not change Java utility method names to make them usable 
in Flowscript. Flowscript is here a layer on the Java classes and this 
layer should not change the underlying layer. A simple solution for your 
case is to introduce a most simple delegating helper class.


View raw message