You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2004/08/19 09:04:40 UTC
svn commit: rev 36590 - cocoon/trunk/src/java/org/apache/cocoon/components/modules/input
Author: bruno
Date: Thu Aug 19 00:04:39 2004
New Revision: 36590
Modified:
cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/JXPathHelper.java
Log:
Enable calling methods on objects, which didn't work anymore since
upgrade to jxpath 1.2
Modified: cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/JXPathHelper.java
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/JXPathHelper.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/JXPathHelper.java Thu Aug 19 00:04:39 2004
@@ -30,7 +30,7 @@
/**
* @author <a href="mailto:haul@apache.org">Christian Haul</a>
- * @version CVS $Id: JXPathHelper.java,v 1.2 2004/03/05 13:02:48 bdelacretaz Exp $
+ * @version CVS $Id$
*/
public class JXPathHelper {
@@ -54,6 +54,9 @@
FunctionLibrary library = new FunctionLibrary();
getFunctions(library, config);
getPackages(library, config);
+ // the following is necessary to be able to use methods on objects without
+ // explicitely registering extension functions (see PackageFunctions javadoc)
+ library.addFunctions(new PackageFunctions("", null));
return new JXPathHelperConfiguration(library, lenient);
}
Re: svn commit: rev 36590 -
cocoon/trunk/src/java/org/apache/cocoon/components/modules/input
Posted by Bruno Dumon <br...@outerthought.org>.
On Thu, 2004-08-19 at 16:28, Vadim Gritsenko wrote:
> bruno@apache.org wrote:
>
> > Author: bruno
> > Date: Thu Aug 19 00:04:39 2004
> > New Revision: 36590
> >
> > Modified:
> > cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/JXPathHelper.java
> > Log:
> > Enable calling methods on objects, which didn't work anymore since
> > upgrade to jxpath 1.2
>
> Bruno, you are not forgetting to update the branch, are you?
eum, yes...
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org bruno@apache.org
Re: svn commit: rev 36590 - cocoon/trunk/src/java/org/apache/cocoon/components/modules/input
Posted by Vadim Gritsenko <va...@reverycodes.com>.
bruno@apache.org wrote:
> Author: bruno
> Date: Thu Aug 19 00:04:39 2004
> New Revision: 36590
>
> Modified:
> cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/JXPathHelper.java
> Log:
> Enable calling methods on objects, which didn't work anymore since
> upgrade to jxpath 1.2
Bruno, you are not forgetting to update the branch, are you?
Vadim