curcuru 01/06/17 05:23:37
Modified: java/src/org/apache/xalan/xsltc/compiler
AbsoluteLocationPath.java ApplyImports.java
ApplyTemplates.java CastExpr.java CopyOf.java
DocumentCall.java EqualityExpr.java Expression.java
FilterExpr.java FilterParentPath.java ForEach.java
FunctionCall.java IdKeyPattern.java Key.java
KeyCall.java NameBase.java ParentLocationPath.java
Parser.java Predicate.java RelationalExpr.java
Step.java UnionPathExpr.java
java/src/org/apache/xalan/xsltc/compiler/util
NodeSetType.java NodeType.java ReferenceType.java
ResultTreeType.java Type.java
java/src/org/apache/xalan/xsltc/dom UnionIterator.java
java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
Log:
OK, I'm going to make a wild guess and assume that sboag's recent commit
of /NodeSet/NodeSetDTM/ got a little out of control and shouldn't have
gone down into org.apache.xalan.xsltc - undone to fix compile error
Revision Changes Path
1.3 +3 -3
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/AbsoluteLocationPath.java
Index: AbsoluteLocationPath.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/AbsoluteLocationPath.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbsoluteLocationPath.java 2001/06/15 05:14:17 1.2
+++ AbsoluteLocationPath.java 2001/06/17 12:23:26 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: AbsoluteLocationPath.java,v 1.2 2001/06/15 05:14:17 sboag Exp $
+ * @(#)$Id: AbsoluteLocationPath.java,v 1.3 2001/06/17 12:23:26 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -101,10 +101,10 @@
if (_path != null) {
final Type ptype = _path.typeCheck(stable);
if (ptype instanceof NodeType) { // promote to node-set
- _path = new CastExpr(_path, Type.NodeSetDTM);
+ _path = new CastExpr(_path, Type.NodeSet);
}
}
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
public void translate(ClassGenerator classGen, MethodGenerator
methodGen) {
1.5 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ApplyImports.java
Index: ApplyImports.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ApplyImports.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ApplyImports.java 2001/06/15 05:14:18 1.4
+++ ApplyImports.java 2001/06/17 12:23:27 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: ApplyImports.java,v 1.4 2001/06/15 05:14:18 sboag Exp $
+ * @(#)$Id: ApplyImports.java,v 1.5 2001/06/17 12:23:27 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -120,10 +120,10 @@
Type tselect = _select.typeCheck(stable);
if (tselect instanceof NodeType ||
tselect instanceof ReferenceType) {
- _select = new CastExpr(_select, Type.NodeSetDTM);
- tselect = Type.NodeSetDTM;
+ _select = new CastExpr(_select, Type.NodeSet);
+ tselect = Type.NodeSet;
}
- if (tselect instanceof NodeSetDTMType) {
+ if (tselect instanceof NodeSetType) {
typeCheckContents(stable); // with-params
return Type.Void;
}
1.5 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ApplyTemplates.java
Index: ApplyTemplates.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ApplyTemplates.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ApplyTemplates.java 2001/06/15 05:14:19 1.4
+++ ApplyTemplates.java 2001/06/17 12:23:27 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: ApplyTemplates.java,v 1.4 2001/06/15 05:14:19 sboag Exp $
+ * @(#)$Id: ApplyTemplates.java,v 1.5 2001/06/17 12:23:27 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -119,10 +119,10 @@
Type tselect = _select.typeCheck(stable);
if (tselect instanceof NodeType ||
tselect instanceof ReferenceType) {
- _select = new CastExpr(_select, Type.NodeSetDTM);
- tselect = Type.NodeSetDTM;
+ _select = new CastExpr(_select, Type.NodeSet);
+ tselect = Type.NodeSet;
}
- if (tselect instanceof NodeSetDTMType) {
+ if (tselect instanceof NodeSetType) {
typeCheckContents(stable); // with-params
return Type.Void;
}
1.3 +10 -10
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/CastExpr.java
Index: CastExpr.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/CastExpr.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CastExpr.java 2001/06/15 05:14:20 1.2
+++ CastExpr.java 2001/06/17 12:23:27 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: CastExpr.java,v 1.2 2001/06/15 05:14:20 sboag Exp $
+ * @(#)$Id: CastExpr.java,v 1.3 2001/06/17 12:23:27 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -100,25 +100,25 @@
InternalTypeMap.put(Type.String, Type.Real);
InternalTypeMap.put(Type.String, Type.Reference);
- InternalTypeMap.put(Type.NodeSetDTM, Type.NodeSetDTM);
- InternalTypeMap.put(Type.NodeSetDTM, Type.Boolean);
- InternalTypeMap.put(Type.NodeSetDTM, Type.Real);
- InternalTypeMap.put(Type.NodeSetDTM, Type.String);
- InternalTypeMap.put(Type.NodeSetDTM, Type.Node);
- InternalTypeMap.put(Type.NodeSetDTM, Type.Reference);
+ InternalTypeMap.put(Type.NodeSet, Type.NodeSet);
+ InternalTypeMap.put(Type.NodeSet, Type.Boolean);
+ InternalTypeMap.put(Type.NodeSet, Type.Real);
+ InternalTypeMap.put(Type.NodeSet, Type.String);
+ InternalTypeMap.put(Type.NodeSet, Type.Node);
+ InternalTypeMap.put(Type.NodeSet, Type.Reference);
InternalTypeMap.put(Type.Node, Type.Node);
InternalTypeMap.put(Type.Node, Type.Boolean);
InternalTypeMap.put(Type.Node, Type.Real);
InternalTypeMap.put(Type.Node, Type.String);
- InternalTypeMap.put(Type.Node, Type.NodeSetDTM);
+ InternalTypeMap.put(Type.Node, Type.NodeSet);
InternalTypeMap.put(Type.Node, Type.Reference);
InternalTypeMap.put(Type.ResultTree, Type.ResultTree);
InternalTypeMap.put(Type.ResultTree, Type.Boolean);
InternalTypeMap.put(Type.ResultTree, Type.Real);
InternalTypeMap.put(Type.ResultTree, Type.String);
- InternalTypeMap.put(Type.ResultTree, Type.NodeSetDTM);
+ InternalTypeMap.put(Type.ResultTree, Type.NodeSet);
InternalTypeMap.put(Type.ResultTree, Type.Reference);
InternalTypeMap.put(Type.Reference, Type.Reference);
@@ -126,7 +126,7 @@
InternalTypeMap.put(Type.Reference, Type.Int);
InternalTypeMap.put(Type.Reference, Type.Real);
InternalTypeMap.put(Type.Reference, Type.String);
- InternalTypeMap.put(Type.Reference, Type.NodeSetDTM);
+ InternalTypeMap.put(Type.Reference, Type.NodeSet);
InternalTypeMap.put(Type.Void, Type.String);
}
1.5 +3 -3
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/CopyOf.java
Index: CopyOf.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/CopyOf.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CopyOf.java 2001/06/15 05:14:20 1.4
+++ CopyOf.java 2001/06/17 12:23:27 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: CopyOf.java,v 1.4 2001/06/15 05:14:20 sboag Exp $
+ * @(#)$Id: CopyOf.java,v 1.5 2001/06/17 12:23:27 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -94,7 +94,7 @@
public Type typeCheck(SymbolTable stable) throws TypeCheckError {
final Type tselect = _select.typeCheck(stable);
if (tselect instanceof NodeType ||
- tselect instanceof NodeSetDTMType ||
+ tselect instanceof NodeSetType ||
tselect instanceof ReferenceType ||
tselect instanceof ResultTreeType) {
// falls through
@@ -113,7 +113,7 @@
- if (tselect instanceof NodeSetDTMType) {
+ if (tselect instanceof NodeSetType) {
il.append(methodGen.loadDOM());
// push NodeIterator
1.4 +5 -5
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/DocumentCall.java
Index: DocumentCall.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/DocumentCall.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DocumentCall.java 2001/06/15 05:14:22 1.3
+++ DocumentCall.java 2001/06/17 12:23:28 1.4
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: DocumentCall.java,v 1.3 2001/06/15 05:14:22 sboag Exp $
+ * @(#)$Id: DocumentCall.java,v 1.4 2001/06/17 12:23:28 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -116,21 +116,21 @@
}
_uriType = _uri.typeCheck(stable);
- if ((_uriType != Type.NodeSetDTM) && (_uriType != Type.String)) {
+ if ((_uriType != Type.NodeSet) && (_uriType != Type.String)) {
_uri = new CastExpr(_uri, Type.String);
}
// Parse the second argument - the document URI base
if (ac == 2) {
_base = argument(1);
- if (!_base.typeCheck(stable).identicalTo(Type.NodeSetDTM)) {
+ if (!_base.typeCheck(stable).identicalTo(Type.NodeSet)) {
ErrorMsg msg = new ErrorMsg("Second argument to document() "+
"function must be a node-set.");
throw new TypeCheckError(msg);
}
}
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
/**
@@ -157,7 +157,7 @@
// The URI can be either a node-set or something else cast to a string
_uri.translate(classGen, methodGen);
- if (_uriType == Type.NodeSetDTM)
+ if (_uriType == Type.NodeSet)
_uri.startResetIterator(classGen, methodGen);
// The base of the URI may be given as a second argument (a node-set)
1.3 +11 -11
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/EqualityExpr.java
Index: EqualityExpr.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/EqualityExpr.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EqualityExpr.java 2001/06/15 05:14:22 1.2
+++ EqualityExpr.java 2001/06/17 12:23:28 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: EqualityExpr.java,v 1.2 2001/06/15 05:14:22 sboag Exp $
+ * @(#)$Id: EqualityExpr.java,v 1.3 2001/06/17 12:23:28 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -140,27 +140,27 @@
_left = new CastExpr(_left, Type.String);
_right = new CastExpr(_right, Type.String);
}
- else if (tleft instanceof NodeType && tright instanceof NodeSetDTMType)
{
- // compare(Node, NodeSetDTM) will be invoked
+ else if (tleft instanceof NodeType && tright instanceof NodeSetType) {
+ // compare(Node, NodeSet) will be invoked
}
- else if (tleft instanceof NodeSetDTMType && tright instanceof NodeType)
{
- swapArguments(); // for compare(Node, NodeSetDTM)
+ else if (tleft instanceof NodeSetType && tright instanceof NodeType) {
+ swapArguments(); // for compare(Node, NodeSet)
}
else {
// At least one argument is of type node, node-set or result-tree
// Promote an expression of type node to node-set
if (tleft instanceof NodeType) {
- _left = new CastExpr(_left, Type.NodeSetDTM);
+ _left = new CastExpr(_left, Type.NodeSet);
}
if (tright instanceof NodeType) {
- _right = new CastExpr(_right, Type.NodeSetDTM);
+ _right = new CastExpr(_right, Type.NodeSet);
}
// If one arg is a node-set then make it the left one
if (tleft.isSimple() ||
tleft instanceof ResultTreeType &&
- tright instanceof NodeSetDTMType) {
+ tright instanceof NodeSetType) {
swapArguments();
}
@@ -284,10 +284,10 @@
return;
}
- if (tleft instanceof NodeSetDTMType && tright instanceof BooleanType) {
+ if (tleft instanceof NodeSetType && tright instanceof BooleanType) {
_left.translate(classGen, methodGen);
_left.startResetIterator(classGen, methodGen);
- Type.NodeSetDTM.translateTo(classGen, methodGen, Type.Boolean);
+ Type.NodeSet.translateTo(classGen, methodGen, Type.Boolean);
_right.translate(classGen, methodGen);
il.append(IXOR); // x != y <-> x xor y
@@ -298,7 +298,7 @@
return;
}
- if (tleft instanceof NodeSetDTMType && tright instanceof StringType) {
+ if (tleft instanceof NodeSetType && tright instanceof StringType) {
_left.translate(classGen, methodGen);
_left.startResetIterator(classGen, methodGen); // needed ?
_right.translate(classGen, methodGen);
1.4 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Expression.java
Index: Expression.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Expression.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Expression.java 2001/06/15 05:14:23 1.3
+++ Expression.java 2001/06/17 12:23:28 1.4
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: Expression.java,v 1.3 2001/06/15 05:14:23 sboag Exp $
+ * @(#)$Id: Expression.java,v 1.4 2001/06/17 12:23:28 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -155,7 +155,7 @@
}
_startReset = true;
- if (_type instanceof NodeSetDTMType == false) {
+ if (_type instanceof NodeSetType == false) {
return; // nothing to do
}
1.3 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FilterExpr.java
Index: FilterExpr.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FilterExpr.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- FilterExpr.java 2001/06/15 05:14:24 1.2
+++ FilterExpr.java 2001/06/17 12:23:28 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: FilterExpr.java,v 1.2 2001/06/15 05:14:24 sboag Exp $
+ * @(#)$Id: FilterExpr.java,v 1.3 2001/06/17 12:23:28 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -106,9 +106,9 @@
public Type typeCheck(SymbolTable stable) throws TypeCheckError {
Type ptype = _primary.typeCheck(stable);
- if (ptype instanceof NodeSetDTMType == false) {
+ if (ptype instanceof NodeSetType == false) {
if (ptype instanceof ReferenceType) {
- _primary = new CastExpr(_primary, Type.NodeSetDTM);
+ _primary = new CastExpr(_primary, Type.NodeSet);
}
else {
throw new TypeCheckError(this);
@@ -120,7 +120,7 @@
Expression pred = (Expression)_predicates.elementAt(i);
pred.typeCheck(stable);
}
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
/**
1.3 +7 -7
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FilterParentPath.java
Index: FilterParentPath.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FilterParentPath.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- FilterParentPath.java 2001/06/15 05:14:24 1.2
+++ FilterParentPath.java 2001/06/17 12:23:28 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: FilterParentPath.java,v 1.2 2001/06/15 05:14:24 sboag Exp $
+ * @(#)$Id: FilterParentPath.java,v 1.3 2001/06/17 12:23:28 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -94,12 +94,12 @@
*/
public Type typeCheck(SymbolTable stable) throws TypeCheckError {
final Type ftype = _filterExpr.typeCheck(stable);
- if (ftype instanceof NodeSetDTMType == false) {
+ if (ftype instanceof NodeSetType == false) {
if (ftype instanceof ReferenceType) {
- _filterExpr = new CastExpr(_filterExpr, Type.NodeSetDTM);
+ _filterExpr = new CastExpr(_filterExpr, Type.NodeSet);
}
else if (ftype instanceof NodeType) {
- _filterExpr = new CastExpr(_filterExpr, Type.NodeSetDTM);
+ _filterExpr = new CastExpr(_filterExpr, Type.NodeSet);
}
else {
throw new TypeCheckError(this);
@@ -108,11 +108,11 @@
// Wrap single node path in a node set
final Type ptype = _path.typeCheck(stable);
- if (!(ptype instanceof NodeSetDTMType)) {
- _path = new CastExpr(_path, Type.NodeSetDTM);
+ if (!(ptype instanceof NodeSetType)) {
+ _path = new CastExpr(_path, Type.NodeSet);
}
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
public void translate(ClassGenerator classGen, MethodGenerator
methodGen) {
1.6 +3 -3
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ForEach.java
Index: ForEach.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ForEach.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ForEach.java 2001/06/15 05:14:25 1.5
+++ ForEach.java 2001/06/17 12:23:28 1.6
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: ForEach.java,v 1.5 2001/06/15 05:14:25 sboag Exp $
+ * @(#)$Id: ForEach.java,v 1.6 2001/06/17 12:23:28 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -103,11 +103,11 @@
Type tselect = _select.typeCheck(stable);
if (tselect instanceof ReferenceType || tselect instanceof NodeType) {
- _select = new CastExpr(_select, Type.NodeSetDTM);
+ _select = new CastExpr(_select, Type.NodeSet);
typeCheckContents(stable);
return Type.Void;
}
- else if (tselect instanceof NodeSetDTMType) {
+ else if (tselect instanceof NodeSetType) {
typeCheckContents(stable);
return Type.Void;
}
1.5 +3 -3
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FunctionCall.java
Index: FunctionCall.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/FunctionCall.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FunctionCall.java 2001/06/15 05:14:26 1.4
+++ FunctionCall.java 2001/06/17 12:23:29 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: FunctionCall.java,v 1.4 2001/06/15 05:14:26 sboag Exp $
+ * @(#)$Id: FunctionCall.java,v 1.5 2001/06/17 12:23:29 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -128,8 +128,8 @@
InternalToJava.put(Type.Node, nodeClass);
InternalToJava.put(Type.Node, nodeListClass);
- InternalToJava.put(Type.NodeSetDTM, nodeClass);
- InternalToJava.put(Type.NodeSetDTM, nodeListClass);
+ InternalToJava.put(Type.NodeSet, nodeClass);
+ InternalToJava.put(Type.NodeSet, nodeListClass);
InternalToJava.put(Type.ResultTree, nodeClass);
InternalToJava.put(Type.ResultTree, nodeListClass);
1.3 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/IdKeyPattern.java
Index: IdKeyPattern.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/IdKeyPattern.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- IdKeyPattern.java 2001/06/15 05:14:27 1.2
+++ IdKeyPattern.java 2001/06/17 12:23:29 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: IdKeyPattern.java,v 1.2 2001/06/15 05:14:27 sboag Exp $
+ * @(#)$Id: IdKeyPattern.java,v 1.3 2001/06/17 12:23:29 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -84,7 +84,7 @@
}
public Type typeCheck(SymbolTable stable) throws TypeCheckError {
- return Type.NodeSetDTM;
+ return Type.NodeSet;
}
public boolean isWildcard() {
1.5 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Key.java
Index: Key.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Key.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Key.java 2001/06/15 05:14:28 1.4
+++ Key.java 2001/06/17 12:23:29 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: Key.java,v 1.4 2001/06/15 05:14:28 sboag Exp $
+ * @(#)$Id: Key.java,v 1.5 2001/06/17 12:23:29 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -131,7 +131,7 @@
_use = new CastExpr(_use, Type.String);
}
// ...or a node-set.
- else if (!(_useType instanceof NodeSetDTMType)) {
+ else if (!(_useType instanceof NodeSetType)) {
throw new TypeCheckError(this);
}
}
@@ -143,7 +143,7 @@
* node set. In this case we must traverse all nodes in the set and
* create one entry in this key's index for each node in the set.
*/
- public void traverseNodeSetDTM(ClassGenerator classGen,
+ public void traverseNodeSet(ClassGenerator classGen,
MethodGenerator methodGen,
int buildKeyIndex) {
final ConstantPoolGen cpg = classGen.getConstantPool();
@@ -260,7 +260,7 @@
else {
// Pass current node as parameter (we're indexing on that node)
il.append(methodGen.loadCurrentNode());
- traverseNodeSetDTM(classGen,methodGen,key);
+ traverseNodeSet(classGen,methodGen,key);
}
// Get the next node from the iterator and do loop again...
1.3 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/KeyCall.java
Index: KeyCall.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/KeyCall.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- KeyCall.java 2001/06/15 05:14:28 1.2
+++ KeyCall.java 2001/06/17 12:23:30 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: KeyCall.java,v 1.2 2001/06/15 05:14:28 sboag Exp $
+ * @(#)$Id: KeyCall.java,v 1.3 2001/06/17 12:23:30 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -77,7 +77,7 @@
/**
* Get the parameters passed to function:
* key(String name, String value)
- * key(String name, NodeSetDTM value)
+ * key(String name, NodeSet value)
*/
public KeyCall(QName fname, Vector arguments) {
super(fname, arguments);
@@ -118,7 +118,7 @@
// be added to the resulting node-set.
_valueType = _value.typeCheck(stable);
- if ((_valueType != Type.NodeSetDTM) &&
+ if ((_valueType != Type.NodeSet) &&
(_valueType != Type.ResultTree) &&
(_valueType != Type.String)) {
_value = new CastExpr(_value,Type.String);
@@ -180,7 +180,7 @@
// If the second paramter is a node-set we need to go through each
// node in the set, convert each one to a string and do a look up in
// the named index, and then merge all the resulting node sets.
- if (_valueType == Type.NodeSetDTM || _valueType == Type.ResultTree) {
+ if (_valueType == Type.NodeSet || _valueType == Type.ResultTree) {
// Save current node and current iterator on the stack
il.append(methodGen.loadCurrentNode());
il.append(methodGen.loadIterator());
1.3 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/NameBase.java
Index: NameBase.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/NameBase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NameBase.java 2001/06/15 05:14:29 1.2
+++ NameBase.java 2001/06/17 12:23:30 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: NameBase.java,v 1.2 2001/06/15 05:14:29 sboag Exp $
+ * @(#)$Id: NameBase.java,v 1.3 2001/06/17 12:23:30 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -107,7 +107,7 @@
throw new TypeCheckError(this);
}
- if ((_type != Type.NodeSetDTM) && (_type != Type.Node))
+ if ((_type != Type.NodeSet) && (_type != Type.Node))
throw new TypeCheckError(this);
return Type.String;
1.3 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ParentLocationPath.java
Index: ParentLocationPath.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/ParentLocationPath.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ParentLocationPath.java 2001/06/15 05:14:30 1.2
+++ ParentLocationPath.java 2001/06/17 12:23:30 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: ParentLocationPath.java,v 1.2 2001/06/15 05:14:30 sboag Exp $
+ * @(#)$Id: ParentLocationPath.java,v 1.3 2001/06/17 12:23:30 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -110,7 +110,7 @@
if (descendantAxis() && _path.descendantAxis())
_orderNodes = true;
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
public boolean descendantAxis() {
1.13 +11 -11
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Parser.java
Index: Parser.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Parser.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Parser.java 2001/06/15 05:14:31 1.12
+++ Parser.java 2001/06/17 12:23:30 1.13
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: Parser.java,v 1.12 2001/06/15 05:14:31 sboag Exp $
+ * @(#)$Id: Parser.java,v 1.13 2001/06/17 12:23:30 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -584,25 +584,25 @@
MethodType I_V = new MethodType(Type.Int, Type.Void);
MethodType I_R = new MethodType(Type.Int, Type.Real);
MethodType I_S = new MethodType(Type.Int, Type.String);
- MethodType I_D = new MethodType(Type.Int, Type.NodeSetDTM);
+ MethodType I_D = new MethodType(Type.Int, Type.NodeSet);
MethodType R_I = new MethodType(Type.Real, Type.Int);
MethodType R_V = new MethodType(Type.Real, Type.Void);
MethodType R_R = new MethodType(Type.Real, Type.Real);
- MethodType R_D = new MethodType(Type.Real, Type.NodeSetDTM);
+ MethodType R_D = new MethodType(Type.Real, Type.NodeSet);
MethodType R_O = new MethodType(Type.Real, Type.Reference);
MethodType I_I = new MethodType(Type.Int, Type.Int);
- MethodType D_O = new MethodType(Type.NodeSetDTM, Type.Reference);
- MethodType D_SS = new MethodType(Type.NodeSetDTM,
+ MethodType D_O = new MethodType(Type.NodeSet, Type.Reference);
+ MethodType D_SS = new MethodType(Type.NodeSet,
Type.String, Type.String);
- MethodType D_SD = new MethodType(Type.NodeSetDTM,
- Type.String, Type.NodeSetDTM);
- MethodType D_S = new MethodType(Type.NodeSetDTM, Type.String);
- MethodType D_D = new MethodType(Type.NodeSetDTM, Type.NodeSetDTM);
+ MethodType D_SD = new MethodType(Type.NodeSet,
+ Type.String, Type.NodeSet);
+ MethodType D_S = new MethodType(Type.NodeSet, Type.String);
+ MethodType D_D = new MethodType(Type.NodeSet, Type.NodeSet);
MethodType A_V = new MethodType(Type.Node, Type.Void);
MethodType S_V = new MethodType(Type.String, Type.Void);
MethodType S_S = new MethodType(Type.String, Type.String);
MethodType S_A = new MethodType(Type.String, Type.Node);
- MethodType S_D = new MethodType(Type.String, Type.NodeSetDTM);
+ MethodType S_D = new MethodType(Type.String, Type.NodeSet);
MethodType S_O = new MethodType(Type.String, Type.Reference);
MethodType B_O = new MethodType(Type.Boolean, Type.Reference);
MethodType B_V = new MethodType(Type.Boolean, Type.Void);
@@ -619,7 +619,7 @@
MethodType S_SS = new MethodType(Type.String, Type.String,
Type.String);
MethodType S_SD = new MethodType(Type.String, Type.String,
- Type.NodeSetDTM);
+ Type.NodeSet);
MethodType S_DS = new MethodType(Type.String, Type.Real, Type.String);
MethodType S_DSS = new MethodType(Type.String, Type.Real, Type.String,
Type.String);
1.3 +3 -3
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Predicate.java
Index: Predicate.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Predicate.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Predicate.java 2001/06/15 05:14:31 1.2
+++ Predicate.java 2001/06/17 12:23:30 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: Predicate.java,v 1.2 2001/06/15 05:14:31 sboag Exp $
+ * @(#)$Id: Predicate.java,v 1.3 2001/06/17 12:23:30 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -190,11 +190,11 @@
(parent instanceof AbsoluteLocationPath)) {
// TODO: Special case for "//*[n]" pattern....
_nthDescendant = true;
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
}
_nthPositionFilter = true;
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
}
else if (texp instanceof BooleanType == false) {
1.5 +9 -9
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/RelationalExpr.java
Index: RelationalExpr.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/RelationalExpr.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- RelationalExpr.java 2001/06/15 05:14:32 1.4
+++ RelationalExpr.java 2001/06/17 12:23:31 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: RelationalExpr.java,v 1.4 2001/06/15 05:14:32 sboag Exp $
+ * @(#)$Id: RelationalExpr.java,v 1.5 2001/06/17 12:23:31 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -95,9 +95,9 @@
_right.getType() instanceof NodeType;
}
- public boolean hasNodeSetDTMArgs() {
- return _left.getType() instanceof NodeSetDTMType ||
- _right.getType() instanceof NodeSetDTMType;
+ public boolean hasNodeSetArgs() {
+ return _left.getType() instanceof NodeSetType ||
+ _right.getType() instanceof NodeSetType;
}
public Type typeCheck(SymbolTable stable) throws TypeCheckError {
@@ -116,9 +116,9 @@
return _type = Type.Boolean;
}
- if (hasNodeSetDTMArgs()) {
+ if (hasNodeSetArgs()) {
// Ensure that the node-set is the left argument
- if (tright instanceof NodeSetDTMType) {
+ if (tright instanceof NodeSetType) {
final Expression temp = _right; _right = _left; _left = temp;
_op = (_op == Operators.GT) ? Operators.LT :
(_op == Operators.LT) ? Operators.GT :
@@ -128,7 +128,7 @@
// Promote nodes to node sets
if (tright instanceof NodeType) {
- _right = new CastExpr(_right, Type.NodeSetDTM);
+ _right = new CastExpr(_right, Type.NodeSet);
}
// Promote integer to doubles to have fewer compares
@@ -170,7 +170,7 @@
}
public void translate(ClassGenerator classGen, MethodGenerator
methodGen) {
- if (hasNodeSetDTMArgs() || hasReferenceArgs()) {
+ if (hasNodeSetArgs() || hasReferenceArgs()) {
final ConstantPoolGen cpg = classGen.getConstantPool();
final InstructionList il = methodGen.getInstructionList();
@@ -202,7 +202,7 @@
public void translateDesynthesized(ClassGenerator classGen,
MethodGenerator methodGen) {
- if (hasNodeSetDTMArgs() || hasReferenceArgs()) {
+ if (hasNodeSetArgs() || hasReferenceArgs()) {
translate(classGen, methodGen);
desynthesize(classGen, methodGen);
}
1.3 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Step.java
Index: Step.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Step.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Step.java 2001/06/15 05:14:33 1.2
+++ Step.java 2001/06/17 12:23:31 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: Step.java,v 1.2 2001/06/15 05:14:33 sboag Exp $
+ * @(#)$Id: Step.java,v 1.3 2001/06/17 12:23:31 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -202,7 +202,7 @@
_type = Type.Node;
}
else if (isAbbreviatedDDot()) {
- _type = Type.NodeSetDTM;
+ _type = Type.NodeSet;
}
else {
// Special case for '@attr' with no parent or predicates
@@ -213,7 +213,7 @@
_type = Type.Node;
}
else {
- _type = Type.NodeSetDTM;
+ _type = Type.NodeSet;
}
}
if (_predicates != null) {
@@ -254,7 +254,7 @@
il.append(new INVOKEVIRTUAL(gattr));
// If it is the case '@attr[P_1]...[P_k]'
- if (_type instanceof NodeSetDTMType) {
+ if (_type instanceof NodeSetType) {
Type.Node.translateTo(classGen, methodGen, _type);
}
return;
1.3 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/UnionPathExpr.java
Index: UnionPathExpr.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/UnionPathExpr.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- UnionPathExpr.java 2001/06/15 05:14:33 1.2
+++ UnionPathExpr.java 2001/06/17 12:23:31 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: UnionPathExpr.java,v 1.2 2001/06/15 05:14:33 sboag Exp $
+ * @(#)$Id: UnionPathExpr.java,v 1.3 2001/06/17 12:23:31 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -98,11 +98,11 @@
public Type typeCheck(SymbolTable stable) throws TypeCheckError {
final int length = _components.length;
for (int i = 0; i < length; i++) {
- if (_components[i].typeCheck(stable) != Type.NodeSetDTM) {
- _components[i] = new CastExpr(_components[i], Type.NodeSetDTM);
+ if (_components[i].typeCheck(stable) != Type.NodeSet) {
+ _components[i] = new CastExpr(_components[i], Type.NodeSet);
}
}
- return _type = Type.NodeSetDTM;
+ return _type = Type.NodeSet;
}
public String toString() {
1.3 +3 -3
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/NodeSetType.java
Index: NodeSetType.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/NodeSetType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeSetType.java 2001/06/15 05:14:47 1.2
+++ NodeSetType.java 2001/06/17 12:23:34 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: NodeSetType.java,v 1.2 2001/06/15 05:14:47 sboag Exp $
+ * @(#)$Id: NodeSetType.java,v 1.3 2001/06/17 12:23:34 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -68,8 +68,8 @@
import org.apache.xalan.xsltc.compiler.Parser;
import org.apache.xalan.xsltc.compiler.FlowList;
-public final class NodeSetDTMType extends Type {
- protected NodeSetDTMType() {}
+public final class NodeSetType extends Type {
+ protected NodeSetType() {}
public String toString() {
return "node-set";
1.3 +4 -4
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/NodeType.java
Index: NodeType.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/NodeType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeType.java 2001/06/15 05:14:49 1.2
+++ NodeType.java 2001/06/17 12:23:34 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: NodeType.java,v 1.2 2001/06/15 05:14:49 sboag Exp $
+ * @(#)$Id: NodeType.java,v 1.3 2001/06/17 12:23:34 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -122,8 +122,8 @@
else if (type == Type.Real) {
translateTo(classGen, methodGen, (RealType) type);
}
- else if (type == Type.NodeSetDTM) {
- translateTo(classGen, methodGen, (NodeSetDTMType) type);
+ else if (type == Type.NodeSet) {
+ translateTo(classGen, methodGen, (NodeSetType) type);
}
else if (type == Type.Reference) {
translateTo(classGen, methodGen, (ReferenceType) type);
@@ -210,7 +210,7 @@
* @see org.apache.xalan.xsltc.compiler.util.Type#translateTo
*/
public void translateTo(ClassGenerator classGen, MethodGenerator
methodGen,
- NodeSetDTMType type) {
+ NodeSetType type) {
ConstantPoolGen cpg = classGen.getConstantPool();
InstructionList il = methodGen.getInstructionList();
1.3 +5 -5
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ReferenceType.java
Index: ReferenceType.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ReferenceType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ReferenceType.java 2001/06/15 05:14:49 1.2
+++ ReferenceType.java 2001/06/17 12:23:34 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: ReferenceType.java,v 1.2 2001/06/15 05:14:49 sboag Exp $
+ * @(#)$Id: ReferenceType.java,v 1.3 2001/06/17 12:23:34 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -105,8 +105,8 @@
else if (type == Type.Boolean) {
translateTo(classGen, methodGen, (BooleanType) type);
}
- else if (type == Type.NodeSetDTM) {
- translateTo(classGen, methodGen, (NodeSetDTMType) type);
+ else if (type == Type.NodeSet) {
+ translateTo(classGen, methodGen, (NodeSetType) type);
}
else {
classGen.getParser().internalError(); // undefined
@@ -178,10 +178,10 @@
* @see org.apache.xalan.xsltc.compiler.util.Type#translateTo
*/
public void translateTo(ClassGenerator classGen, MethodGenerator
methodGen,
- NodeSetDTMType type) {
+ NodeSetType type) {
final ConstantPoolGen cpg = classGen.getConstantPool();
final InstructionList il = methodGen.getInstructionList();
- int index = cpg.addMethodref(BASIS_LIBRARY_CLASS,
"referenceToNodeSetDTM",
+ int index = cpg.addMethodref(BASIS_LIBRARY_CLASS, "referenceToNodeSet",
"("
+ OBJECT_SIG
+ ")"
1.3 +6 -6
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ResultTreeType.java
Index: ResultTreeType.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ResultTreeType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ResultTreeType.java 2001/06/15 05:14:50 1.2
+++ ResultTreeType.java 2001/06/17 12:23:35 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: ResultTreeType.java,v 1.2 2001/06/15 05:14:50 sboag Exp $
+ * @(#)$Id: ResultTreeType.java,v 1.3 2001/06/17 12:23:35 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -123,8 +123,8 @@
else if (type == Type.Real) {
translateTo(classGen, methodGen, (RealType)type);
}
- else if (type == Type.NodeSetDTM) {
- translateTo(classGen, methodGen, (NodeSetDTMType)type);
+ else if (type == Type.NodeSet) {
+ translateTo(classGen, methodGen, (NodeSetType)type);
}
else if (type == Type.Reference) {
translateTo(classGen, methodGen, (ReferenceType)type);
@@ -312,7 +312,7 @@
* @see org.apache.xalan.xsltc.compiler.util.Type#translateTo
*/
public void translateTo(ClassGenerator classGen, MethodGenerator
methodGen,
- NodeSetDTMType type) {
+ NodeSetType type) {
classGen.getParser().notYetImplemented("result-tree -> node-set
conversion");
}
@@ -343,8 +343,8 @@
final String className = clazz.getName();
if (className.equals("org.w3c.dom.Node") ||
className.equals("org.w3c.dom.NodeList")) {
- translateTo(classGen, methodGen, Type.NodeSetDTM);
- Type.NodeSetDTM.translateTo(classGen, methodGen, clazz);
+ translateTo(classGen, methodGen, Type.NodeSet);
+ Type.NodeSet.translateTo(classGen, methodGen, clazz);
}
else {
classGen.getParser().internalError(); // undefined
1.3 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/Type.java
Index: Type.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/Type.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Type.java 2001/06/15 05:14:51 1.2
+++ Type.java 2001/06/17 12:23:35 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: Type.java,v 1.2 2001/06/15 05:14:51 sboag Exp $
+ * @(#)$Id: Type.java,v 1.3 2001/06/17 12:23:35 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -74,7 +74,7 @@
public static final Type Int = new IntType();
public static final Type Real = new RealType();
public static final Type Boolean = new BooleanType();
- public static final Type NodeSetDTM = new NodeSetDTMType();
+ public static final Type NodeSet = new NodeSetType();
public static final Type String = new StringType();
public static final Type ResultTree = new ResultTreeType();
public static final Type Reference = new ReferenceType();
1.3 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/dom/UnionIterator.java
Index: UnionIterator.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/dom/UnionIterator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- UnionIterator.java 2001/06/15 05:14:57 1.2
+++ UnionIterator.java 2001/06/17 12:23:36 1.3
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: UnionIterator.java,v 1.2 2001/06/15 05:14:57 sboag Exp $
+ * @(#)$Id: UnionIterator.java,v 1.3 2001/06/17 12:23:36 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -69,7 +69,7 @@
/**
* UnionIterator takes a set of NodeIterators and produces
- * a merged NodeSetDTM in document order with duplicates removed
+ * a merged NodeSet in document order with duplicates removed
* The individual iterators are supposed to generate nodes
* in document order
*/
1.5 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java
Index: BasisLibrary.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BasisLibrary.java 2001/06/15 05:15:00 1.4
+++ BasisLibrary.java 2001/06/17 12:23:36 1.5
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: BasisLibrary.java,v 1.4 2001/06/15 05:15:00 sboag Exp $
+ * @(#)$Id: BasisLibrary.java,v 1.5 2001/06/17 12:23:36 curcuru Exp $
*
* The Apache Software License, Version 1.1
*
@@ -818,7 +818,7 @@
* Utility function: used to convert references to node-sets. If the
* obj is an instanceof Node then create a singleton iterator.
*/
- public static NodeIterator referenceToNodeSetDTM(Object obj) {
+ public static NodeIterator referenceToNodeSet(Object obj) {
try {
return (obj instanceof Node == false)
? (NodeIterator) obj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]