dbertoni    00/07/13 15:22:42

  Modified:    c/src/XSLT ElemLiteralResult.cpp ElemTemplate.cpp
                        StylesheetHandler.cpp
  Log:
  Changed code to use DoubleSupport::toDouble() instead of WideStringToDouble().
  
  Revision  Changes    Path
  1.15      +2 -1      xml-xalan/c/src/XSLT/ElemLiteralResult.cpp
  
  Index: ElemLiteralResult.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemLiteralResult.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ElemLiteralResult.cpp     2000/07/06 20:19:24     1.14
  +++ ElemLiteralResult.cpp     2000/07/13 22:22:41     1.15
  @@ -67,6 +67,7 @@
   
   
   
  +#include <PlatformSupport/DoubleSupport.hpp>
   #include <PlatformSupport/StringTokenizer.hpp>
   #include <PlatformSupport/STLHelper.hpp>
   
  @@ -134,7 +135,7 @@
                                        {
                                                const XalanDOMChar*     const   
value = atts.getValue(i);
   
  -                                             
stylesheetTree.setXSLTVerDeclared(DOMStringToDouble(value));
  +                                             
stylesheetTree.setXSLTVerDeclared(DoubleSupport::toDouble(value));
                                        }
                                }
                        }
  
  
  
  1.6       +5 -1      xml-xalan/c/src/XSLT/ElemTemplate.cpp
  
  Index: ElemTemplate.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemTemplate.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ElemTemplate.cpp  2000/04/12 19:40:59     1.5
  +++ ElemTemplate.cpp  2000/07/13 22:22:41     1.6
  @@ -63,6 +63,10 @@
   
   
   #include <PlatformSupport/DOMStringHelper.hpp>
  +#include <PlatformSupport/DoubleSupport.hpp>
  +
  +
  +
   #include <XPath/XPath.hpp>
   
   
  @@ -113,7 +117,7 @@
                case Constants::TATTRNAME_PRIORITY:
                        {
                                const XalanDOMString priorityVal = 
atts.getValue(i);
  -                             m_priority = DOMStringToDouble(priorityVal);
  +                             m_priority = 
DoubleSupport::toDouble(priorityVal);
                        }
                        break;
   
  
  
  
  1.35      +2 -1      xml-xalan/c/src/XSLT/StylesheetHandler.cpp
  
  Index: StylesheetHandler.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetHandler.cpp,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- StylesheetHandler.cpp     2000/07/11 19:54:53     1.34
  +++ StylesheetHandler.cpp     2000/07/13 22:22:41     1.35
  @@ -75,6 +75,7 @@
   
   #include <PlatformSupport/AttributeListImpl.hpp>
   #include <PlatformSupport/DOMStringHelper.hpp>
  +#include <PlatformSupport/DoubleSupport.hpp>
   #include <PlatformSupport/StringTokenizer.hpp>
   #include <PlatformSupport/STLHelper.hpp>
   
  @@ -565,7 +566,7 @@
                                                {
                                                        const XalanDOMChar* 
const       versionStr = atts.getValue(i);
   
  -                                                     
m_stylesheet.setXSLTVerDeclared(WideStringToDouble(versionStr));
  +                                                     
m_stylesheet.setXSLTVerDeclared(DoubleSupport::toDouble(versionStr));
   
                                                        fVersionFound = true;
                                                }
  
  
  

Reply via email to