dbertoni    00/07/28 15:00:21

  Modified:    c/src/TestXPath TestXPath.cpp
  Log:
  Interface changes.
  
  Revision  Changes    Path
  1.12      +11 -11    xml-xalan/c/src/TestXPath/TestXPath.cpp
  
  Index: TestXPath.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXPath/TestXPath.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TestXPath.cpp     2000/07/12 21:49:24     1.11
  +++ TestXPath.cpp     2000/07/28 22:00:21     1.12
  @@ -55,6 +55,7 @@
    * <http://www.apache.org/>.
    */
   #include <cstdio>
  +#include <ctime>
   #include <vector>
   #include <iostream>
   
  @@ -69,6 +70,7 @@
   
   
   
  +#include <PlatformSupport/DoubleSupport.hpp>
   #include <PlatformSupport/DirectoryEnumerator.hpp>
   #include <PlatformSupport/DOMStringHelper.hpp>
   #include <DOMSupport/DOMSupportDefault.hpp>
  @@ -442,8 +444,8 @@
        {
                assert(theXObject != 0);
   
  -             const MutableNodeRefList&       theResultList =
  -                                             theXObject->mutableNodeset();
  +             const NodeRefListBase&  theResultList =
  +                                             theXObject->nodeset();
   
                if (theResultList.getLength() == 0)
                {
  @@ -555,8 +557,8 @@
                                {
                                        assert(theResult != 0);
   
  -                                     const MutableNodeRefList&       
theResultList =
  -                                             theResult->mutableNodeset();
  +                                     const NodeRefListBase&  theResultList =
  +                                             theResult->nodeset();
   
                                        const unsigned int      theLength = 
theResultList.getLength();
   
  @@ -693,8 +695,8 @@
                                        {
                                                assert(theResult1 != 0);
   
  -                                             const MutableNodeRefList&       
theResultList =
  -                                                             
theResult1->mutableNodeset();
  +                                             const NodeRefListBase&  
theResultList =
  +                                                             
theResult1->nodeset();
   
                                                const unsigned int      
theLength = theResultList.getLength();
   
  @@ -726,8 +728,8 @@
                                        {
                                                assert(theResult2 != 0);
   
  -                                             const MutableNodeRefList&       
theResultList =
  -                                                             
theResult2->mutableNodeset();
  +                                             const NodeRefListBase&  
theResultList =
  +                                                             
theResult2->nodeset();
   
                                                const int       theLength = 
theResultList.getLength();
   
  @@ -1218,7 +1220,7 @@
   
   int
   main(int                     /* argc */,
  -      const char*    /* argv[] */)
  +      const char*    argv[])
   {
   #if !defined (XALAN_NO_NAMESPACES)
        using std::cout;
  @@ -1244,6 +1246,4 @@
                     theXPathSupport,
                         theLiaison,
                         thePrintWriter);
  -
  -     return 0;
   }
  
  
  

Reply via email to