dbertoni    02/04/25 23:52:34

  Modified:    c/src/XPath FunctionSubstring.cpp
  Log:
  Fixed bug.
  
  Revision  Changes    Path
  1.19      +1 -0      xml-xalan/c/src/XPath/FunctionSubstring.cpp
  
  Index: FunctionSubstring.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/FunctionSubstring.cpp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- FunctionSubstring.cpp     11 Apr 2002 06:17:55 -0000      1.18
  +++ FunctionSubstring.cpp     26 Apr 2002 06:52:34 -0000      1.19
  @@ -235,6 +235,7 @@
                        if (DoubleSupport::isNaN(theSecondArgValue) == true ||
                                DoubleSupport::isNaN(theTotal) == true ||
                                DoubleSupport::isNegativeInfinity(theTotal) == 
true ||
  +                             theTotal == 0.0 ||
                                theTotal < double(theStartIndex))
                        {
                                return createEmptyString(executionContext);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to