Author: mriou
Date: Mon Aug 28 17:10:38 2006
New Revision: 437884
URL: http://svn.apache.org/viewvc?rev=437884&view=rev
Log:
ODE-38 I pretty much had to reimplement most of the XPath 2.0 module. An
upgrade of Saxon was needed and the changes made between the old version and
the last version made almost the whole code obsolete. Used JAXP XPath
interfaces so another implementation should be fairly easy to plugin if we
decide to at some point (if you enjoy playing with differences in return types
that is).
Added:
incubator/ode/trunk/DISCLAIMER
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/WrappedResolverException.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/compiler/JaxpFunctionResolver.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/compiler/JaxpVariableResolver.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/o/
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/o/OXPath20ExpressionBPEL20.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpFunctionResolver.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/JaxpVariableResolver.java
Removed:
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/BpelFunctionLibrary.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/SaxonCompileContext.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/SaxonXPathContext.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/FaultXPathException.java
Modified:
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/capi/CompilerContext.java
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/BpelCompiler.java
incubator/ode/trunk/bpel-el-xpath10/src/main/java/org/apache/ode/bpel/elang/xpath10/compiler/XPathMessages.java
incubator/ode/trunk/bpel-el-xpath20/pom.xml
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/compiler/XPath20ExpressionCompilerBPEL20.java
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
incubator/ode/trunk/pom.xml
incubator/ode/trunk/utils/src/main/java/org/apache/ode/utils/Namespaces.java
Added: incubator/ode/trunk/DISCLAIMER
URL:
http://svn.apache.org/viewvc/incubator/ode/trunk/DISCLAIMER?rev=437884&view=auto
==============================================================================
--- incubator/ode/trunk/DISCLAIMER (added)
+++ incubator/ode/trunk/DISCLAIMER Mon Aug 28 17:10:38 2006
@@ -0,0 +1,9 @@
+Apache Ode is an effort undergoing incubation at the Apache Software
+Foundation (ASF). Incubation is required of all newly accepted projects
+until a further review indicates that the infrastructure, communications,
+and decision making process have stabilized in a manner consistent with
+other successful ASF projects.
+
+While incubation status is not necessarily a reflection of the completeness
+or stability of the code, it does indicate that the project has yet to be
+fully endorsed by the ASF.
Modified:
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/capi/CompilerContext.java
URL:
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/capi/CompilerContext.java?rev=437884&r1=437883&r2=437884&view=diff
==============================================================================
---
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/capi/CompilerContext.java
(original)
+++
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/capi/CompilerContext.java
Mon Aug 28 17:10:38 2006
@@ -20,85 +20,97 @@
import org.apache.ode.bom.api.Activity;
import org.apache.ode.bom.api.Expression;
-import org.apache.ode.bpel.o.*;
+import org.apache.ode.bpel.o.OActivity;
+import org.apache.ode.bpel.o.OExpression;
+import org.apache.ode.bpel.o.OLValueExpression;
+import org.apache.ode.bpel.o.OLink;
+import org.apache.ode.bpel.o.OMessageVarType;
+import org.apache.ode.bpel.o.OPartnerLink;
+import org.apache.ode.bpel.o.OProcess;
+import org.apache.ode.bpel.o.OScope;
+import org.apache.ode.bpel.o.OXsdTypeVarType;
+import org.apache.ode.bpel.o.OXslSheet;
import javax.wsdl.Operation;
import javax.xml.namespace.QName;
+import java.util.List;
/**
* Interface providing access to the compiler .
*/
public interface CompilerContext {
-
- OExpression constantExpr(boolean value);
-
- OExpression compileJoinCondition(Expression expr)
- throws CompilationException;
-
- OExpression compileExpr(Expression expr)
- throws CompilationException;
-
- OLValueExpression compileLValueExpr(Expression expr)
- throws CompilationException;
- OXslSheet compileXslt(String docStrUri)
- throws CompilationException;
+ OExpression constantExpr(boolean value);
- OXsdTypeVarType resolveXsdType(QName typeName)
- throws CompilationException;
+ OExpression compileJoinCondition(Expression expr)
+ throws CompilationException;
- OProcess.OProperty resolveProperty(QName name)
- throws CompilationException;
+ OExpression compileExpr(Expression expr)
+ throws CompilationException;
- OScope.Variable resolveVariable(String name)
- throws CompilationException;
+ OLValueExpression compileLValueExpr(Expression expr)
+ throws CompilationException;
- OScope.Variable resolveMessageVariable(String inputVar)
- throws CompilationException;
+ OXslSheet compileXslt(String docStrUri)
+ throws CompilationException;
- OScope.Variable resolveMessageVariable(String inputVar, QName messageType)
- throws CompilationException;
+ OXsdTypeVarType resolveXsdType(QName typeName)
+ throws CompilationException;
- OMessageVarType.Part resolvePart(OScope.Variable variable, String partname)
- throws CompilationException;
+ OProcess.OProperty resolveProperty(QName name)
+ throws CompilationException;
- OActivity compile(Activity child)
- throws CompilationException;
+ OScope.Variable resolveVariable(String name)
+ throws CompilationException;
- OActivity compileSLC(final Activity source)
- throws CompilationException;
-
- OPartnerLink resolvePartnerLink(String name)
- throws CompilationException;
+ List<OScope.Variable> getAccessibleVariables();
- Operation resolvePartnerRoleOperation(OPartnerLink partnerLink, String
operationName)
- throws CompilationException;
+ OScope.Variable resolveMessageVariable(String inputVar)
+ throws CompilationException;
- Operation resolveMyRoleOperation(OPartnerLink partnerLink, String
operationName)
- throws CompilationException;
+ OScope.Variable resolveMessageVariable(String inputVar, QName messageType)
+ throws CompilationException;
- OProcess.OPropertyAlias resolvePropertyAlias(OScope.Variable variable, QName
property)
- throws CompilationException;
+ OMessageVarType.Part resolvePart(OScope.Variable variable, String partname)
+ throws CompilationException;
- void recoveredFromError(Object where, CompilationException bce)
- throws CompilationException;
+ OActivity compile(Activity child)
+ throws CompilationException;
- OLink resolveLink(String linkName)
- throws CompilationException;
+ OActivity compileSLC(final Activity source)
+ throws CompilationException;
- OScope resolveCompensatableScope(String scopeToCompensate)
- throws CompilationException;
+ OPartnerLink resolvePartnerLink(String name)
+ throws CompilationException;
- OProcess getOProcess()
- throws CompilationException;
+ Operation resolvePartnerRoleOperation(OPartnerLink partnerLink, String
operationName)
+ throws CompilationException;
- OScope.CorrelationSet resolveCorrelationSet(String csetName)
- throws CompilationException;
+ Operation resolveMyRoleOperation(OPartnerLink partnerLink, String
operationName)
+ throws CompilationException;
- String getSourceLocation();
+ OProcess.OPropertyAlias resolvePropertyAlias(OScope.Variable variable,
QName property)
+ throws CompilationException;
- void compile(OActivity context, Runnable run);
+ void recoveredFromError(Object where, CompilationException bce)
+ throws CompilationException;
- public boolean isPartnerLinkAssigned(String plink);
+ OLink resolveLink(String linkName)
+ throws CompilationException;
+
+ OScope resolveCompensatableScope(String scopeToCompensate)
+ throws CompilationException;
+
+ OProcess getOProcess()
+ throws CompilationException;
+
+ OScope.CorrelationSet resolveCorrelationSet(String csetName)
+ throws CompilationException;
+
+ String getSourceLocation();
+
+ void compile(OActivity context, Runnable run);
+
+ public boolean isPartnerLinkAssigned(String plink);
}