You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by mk...@ca.ibm.com on 2002/07/26 21:26:13 UTC

[PATCH] patch for bug #10323

Hi,

Here you can find the patch for bug 10323
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10323).
It corrects a few Javadoc errors in the extension classes under
org.apache.xalan.lib.

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: mkwan@ca.ibm.com


Index: ExsltCommon.java
===================================================================
RCS file: /home/cvspublic/xml-xalan/java/src/org/apache/xalan/lib/ExsltCommon.java,v
retrieving revision 1.3
diff -u -r1.3 ExsltCommon.java
--- ExsltCommon.java    18 Jun 2002 19:07:24 -0000    1.3
+++ ExsltCommon.java    26 Jul 2002 19:18:40 -0000
@@ -94,7 +94,7 @@
  * This class contains EXSLT common extension functions.
  * It is accessed by specifying a namespace URI as follows:
  * <pre>
- *    xmlns:exslt="http://exslt.org/xalan/common"
+ *    xmlns:exslt="http://exslt.org/common"
  * </pre>
  *
  * The documentation for each function has been copied from the relevant
Index: ExsltMath.java
===================================================================
RCS file: /home/cvspublic/xml-xalan/java/src/org/apache/xalan/lib/ExsltMath.java,v
retrieving revision 1.2
diff -u -r1.2 ExsltMath.java
--- ExsltMath.java      22 Mar 2002 18:54:57 -0000    1.2
+++ ExsltMath.java      26 Jul 2002 19:18:40 -0000
@@ -195,7 +195,7 @@
    * @param expCon is passed in by the Xalan extension processor
    * @param ni The NodeIterator for the node-set to be evaluated.
    *
-   * @return node-set with nodes containing the minimum value found, an empty node-set
+   * @return node-set with nodes containing the maximum value found, an empty node-set
    * if any node cannot be converted to a number.
    */
   public static NodeSet highest (ExpressionContext expCon, NodeIterator ni)
@@ -234,7 +234,7 @@
    * @param expCon is passed in by the Xalan extension processor
    * @param ni The NodeIterator for the node-set to be evaluated.
    *
-   * @return node-set with nodes containing the maximum value found, an empty node-set
+   * @return node-set with nodes containing the minimum value found, an empty node-set
    * if any node cannot be converted to a number.
    *
    */
Index: ExsltSets.java
===================================================================
RCS file: /home/cvspublic/xml-xalan/java/src/org/apache/xalan/lib/ExsltSets.java,v
retrieving revision 1.2
diff -u -r1.2 ExsltSets.java
--- ExsltSets.java      22 Mar 2002 18:54:57 -0000    1.2
+++ ExsltSets.java      26 Jul 2002 19:18:40 -0000
@@ -93,7 +93,7 @@
  * This class contains EXSLT set extension functions.
  * It is accessed by specifying a namespace URI as follows:
  * <pre>
- *    xmlns:set="http://exslt.org/xalan/sets"
+ *    xmlns:set="http://exslt.org/sets"
  * </pre>
  *
  * The documentation for each function has been copied from the relevant
@@ -145,8 +145,8 @@
    *
    * @param ni1 NodeIterator for first node-set.
    * @param ni2 NodeIterator for second node-set.
-   * @return a node-set containing the nodes in ni1 that precede in document order the first
-   * node in ni2; an empty node-set if the first noe in ni2 is not in ni1; all of ni1 if ni2
+   * @return a node-set containing the nodes in ni1 that follow in document order the first
+   * node in ni2; an empty node-set if the first node in ni2 is not in ni1; all of ni1 if ni2
    * is empty.
    *
    * @see <a href="http://www.exslt.org/">EXSLT</a>
Index: Extensions.java
===================================================================
RCS file: /home/cvspublic/xml-xalan/java/src/org/apache/xalan/lib/Extensions.java,v
retrieving revision 1.18
diff -u -r1.18 Extensions.java
--- Extensions.java     21 Jun 2002 15:43:53 -0000    1.18
+++ Extensions.java     26 Jul 2002 19:18:40 -0000
@@ -280,7 +280,7 @@
   }

   /**
-   * Returns true of both node-sets contain the same set of nodes.
+   * Returns true if both node-sets contain the same set of nodes.
    * @param n1 NodeIterator for first node-set
    *
    * NEEDSDOC @param ni1