On 13.09.2005 11:05, Wicksteed, Charles wrote:
A new toSAX() method was introduced in org/apache/cocoon/components/source/SourceUtil.java 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.
Jörg
