summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-07-13 10:11:04 (EDT)
committerpelder2006-07-13 10:11:04 (EDT)
commit47948371e2dc9adf55fee4b43af44061b6725090 (patch)
treea1131be0b6ab39643bf07b48c4aa77e4da3fadbf
parent60fa2b82bcd143708d5db08c18318defbfde3616 (diff)
downloadorg.eclipse.jet-47948371e2dc9adf55fee4b43af44061b6725090.zip
org.eclipse.jet-47948371e2dc9adf55fee4b43af44061b6725090.tar.gz
org.eclipse.jet-47948371e2dc9adf55fee4b43af44061b6725090.tar.bz2
[148451] Allow XPath string() function to accept no argument
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/functions/StringFunction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/functions/StringFunction.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/functions/StringFunction.java
index db3598c..9068e3c 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/functions/StringFunction.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/functions/StringFunction.java
@@ -37,7 +37,7 @@ import org.eclipse.jet.xpath.inspector.InspectorManager;
public class StringFunction implements XPathFunction, XPathFunctionWithContext
{
- public static final XPathFunctionMetaData FUNCTION_META_DATA = new XPathFunctionMetaData("string", null, new StringFunction(), 1, 1); //$NON-NLS-1$
+ public static final XPathFunctionMetaData FUNCTION_META_DATA = new XPathFunctionMetaData("string", null, new StringFunction(), 0, 1); //$NON-NLS-1$
private Context context;
/**