ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r548503 - /incubator/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/elang/xpath10/o/OXPath10Expression.java
Date Mon, 18 Jun 2007 21:53:12 GMT
Author: mriou
Date: Mon Jun 18 14:53:11 2007
New Revision: 548503

URL: http://svn.apache.org/viewvc?view=rev&rev=548503
Log:
The restriction forcing an lvalue in assignment to only have one variable reference isn't
in the spec anymore.

Modified:
    incubator/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/elang/xpath10/o/OXPath10Expression.java

Modified: incubator/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/elang/xpath10/o/OXPath10Expression.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/elang/xpath10/o/OXPath10Expression.java?view=diff&rev=548503&r1=548502&r2=548503
==============================================================================
--- incubator/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/elang/xpath10/o/OXPath10Expression.java
(original)
+++ incubator/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/elang/xpath10/o/OXPath10Expression.java
Mon Jun 18 14:53:11 2007
@@ -18,12 +18,6 @@
  */
 package org.apache.ode.bpel.elang.xpath10.o;
 
-import java.io.Serializable;
-import java.net.URI;
-import java.util.HashMap;
-
-import javax.xml.namespace.QName;
-
 import org.apache.ode.bpel.o.OBase;
 import org.apache.ode.bpel.o.OExpression;
 import org.apache.ode.bpel.o.OLValueExpression;
@@ -31,10 +25,15 @@
 import org.apache.ode.bpel.o.OMessageVarType;
 import org.apache.ode.bpel.o.OProcess;
 import org.apache.ode.bpel.o.OScope;
-import org.apache.ode.bpel.o.OXslSheet;
 import org.apache.ode.bpel.o.OScope.Variable;
+import org.apache.ode.bpel.o.OXslSheet;
 import org.apache.ode.utils.NSContext;
 
+import javax.xml.namespace.QName;
+import java.io.Serializable;
+import java.net.URI;
+import java.util.HashMap;
+
 
 /**
  * Jaxen-based compiled-xpath representation for XPATH 1.0 expression language. 
@@ -167,8 +166,6 @@
 	 * @see org.apache.ode.bpel.o.OLValueExpression#getVariable()
 	 */
 	public Variable getVariable() {
-		if(vars.size() > 1)
-			throw new IllegalStateException("LValue must not have more than one variable reference");
 		if(vars.size() == 0)
 			throw new IllegalStateException("LValue must have one variable reference.");
 		return vars.values().iterator().next();



Mime
View raw message