summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-05-30 15:53:30 (EDT)
committer pelder2006-05-30 15:53:30 (EDT)
commit8e43a38b22587e6d50d320e51976c3f66a1be0ac (patch)
tree1f8718b44bc953835789db784cd735d730499807
parente25795ed52ec6fc0f517676fcaa053e656edeea1 (diff)
downloadorg.eclipse.jet-8e43a38b22587e6d50d320e51976c3f66a1be0ac.zip
org.eclipse.jet-8e43a38b22587e6d50d320e51976c3f66a1be0ac.tar.gz
org.eclipse.jet-8e43a38b22587e6d50d320e51976c3f66a1be0ac.tar.bz2
[144529] Use 'xpathContextObject' argument rather than calling currentXPathContenxtObject() in resolveAsString().
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/XPathContextExtender.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/XPathContextExtender.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/XPathContextExtender.java
index 3d94d1c..879dde6 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/XPathContextExtender.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/XPathContextExtender.java
@@ -139,7 +139,7 @@ public final class XPathContextExtender extends AbstractContextExtender implemen
*/
public String resolveAsString(Object xpathContextObject, String selectXPath) throws JET2TagException
{
- Object resultObject = resolveAsObject(currentXPathContextObject(), selectXPath);
+ Object resultObject = resolveAsObject(xpathContextObject, selectXPath);
String result = null;
if(resultObject instanceof NodeSet)