You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ro...@locus.apache.org on 2000/01/12 01:27:01 UTC

cvs commit: xml-xerces/c/samples/StdInParse StdInParse.cpp

roddey      00/01/11 16:27:01

  Modified:    c/samples/MemParse MemParse.cpp
               c/samples/PParse PParse.cpp
               c/samples/Redirect RedirectHandlers.cpp
               c/samples/SAXPrint SAXPrint.cpp
               c/samples/StdInParse StdInParse.cpp
  Log:
  Updates to work with the new URL and input source scheme.
  
  Revision  Changes    Path
  1.3       +4 -1      xml-xerces/c/samples/MemParse/MemParse.cpp
  
  Index: MemParse.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/MemParse/MemParse.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MemParse.cpp	1999/11/20 01:09:55	1.2
  +++ MemParse.cpp	2000/01/12 00:27:00	1.3
  @@ -64,6 +64,9 @@
    * on parameters to the constructor.
    *
    * $Log: MemParse.cpp,v $
  + * Revision 1.3  2000/01/12 00:27:00  roddey
  + * Updates to work with the new URL and input source scheme.
  + *
    * Revision 1.2  1999/11/20 01:09:55  rahulj
    * Fixed usage message.
    *
  @@ -80,7 +83,7 @@
   //  Includes
   // ---------------------------------------------------------------------------
   #include <parsers/SAXParser.hpp>
  -#include <internal/MemBufInputSource.hpp>
  +#include <framework/MemBufInputSource.hpp>
   #include "MemParse.hpp"
   
   
  
  
  
  1.2       +3 -1      xml-xerces/c/samples/PParse/PParse.cpp
  
  Index: PParse.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/PParse/PParse.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PParse.cpp	1999/11/09 01:09:45	1.1
  +++ PParse.cpp	2000/01/12 00:27:00	1.2
  @@ -56,9 +56,12 @@
   
   /**
    * $Log: PParse.cpp,v $
  - * Revision 1.1  1999/11/09 01:09:45  twl
  - * Initial revision
  + * Revision 1.2  2000/01/12 00:27:00  roddey
  + * Updates to work with the new URL and input source scheme.
    *
  + * Revision 1.1.1.1  1999/11/09 01:09:45  twl
  + * Initial checkin
  + *
    * Revision 1.5  1999/11/08 20:43:38  rahul
    * Swat for adding in Product name and CVS comment log variable.
    *
  @@ -87,7 +90,6 @@
   //  Includes
   // ---------------------------------------------------------------------------
   #include <util/PlatformUtils.hpp>
  -#include <internal/URLInputSource.hpp>
   #include <framework/XMLPScanToken.hpp>
   #include <parsers/SAXParser.hpp>
   #include "PParse.hpp"
  
  
  
  1.2       +6 -3      xml-xerces/c/samples/Redirect/RedirectHandlers.cpp
  
  Index: RedirectHandlers.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/Redirect/RedirectHandlers.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RedirectHandlers.cpp	1999/11/09 01:09:38	1.1
  +++ RedirectHandlers.cpp	2000/01/12 00:27:00	1.2
  @@ -56,9 +56,12 @@
   
   /**
    * $Log: RedirectHandlers.cpp,v $
  - * Revision 1.1  1999/11/09 01:09:38  twl
  - * Initial revision
  + * Revision 1.2  2000/01/12 00:27:00  roddey
  + * Updates to work with the new URL and input source scheme.
    *
  + * Revision 1.1.1.1  1999/11/09 01:09:38  twl
  + * Initial checkin
  + *
    * Revision 1.6  1999/11/08 20:43:39  rahul
    * Swat for adding in Product name and CVS comment log variable.
    *
  @@ -70,12 +73,12 @@
   //  Includes
   // ---------------------------------------------------------------------------
   #include <util/XMLUni.hpp>
  -#include <internal/URLInputSource.hpp>
   #include <sax/AttributeList.hpp>
   #include <sax/SAXParseException.hpp>
   #include <sax/SAXException.hpp>
  -#include <memory.h>
  +#include <framework/LocalFileInputSource.hpp>
   #include "Redirect.hpp"
  +#include <memory.h>
   
   
   // ---------------------------------------------------------------------------
  @@ -210,5 +213,5 @@
       }
   
       // They were equal, so redirect to our other file
  -    return new URLInputSource(gRedirectToFile);
  +    return new LocalFileInputSource(gRedirectToFile);
   }
  
  
  
  1.2       +3 -1      xml-xerces/c/samples/SAXPrint/SAXPrint.cpp
  
  Index: SAXPrint.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/SAXPrint/SAXPrint.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SAXPrint.cpp	1999/11/09 01:09:28	1.1
  +++ SAXPrint.cpp	2000/01/12 00:27:01	1.2
  @@ -56,9 +56,12 @@
   
   /**
    * $Log: SAXPrint.cpp,v $
  - * Revision 1.1  1999/11/09 01:09:28  twl
  - * Initial revision
  + * Revision 1.2  2000/01/12 00:27:01  roddey
  + * Updates to work with the new URL and input source scheme.
    *
  + * Revision 1.1.1.1  1999/11/09 01:09:28  twl
  + * Initial checkin
  + *
    * Revision 1.7  1999/11/08 20:43:41  rahul
    * Swat for adding in Product name and CVS comment log variable.
    *
  @@ -69,7 +72,6 @@
   //  Includes
   // ---------------------------------------------------------------------------
   #include <util/PlatformUtils.hpp>
  -#include <internal/URLInputSource.hpp>
   #include <parsers/SAXParser.hpp>
   #include "SAXPrint.hpp"
   
  
  
  
  1.2       +4 -1      xml-xerces/c/samples/StdInParse/StdInParse.cpp
  
  Index: StdInParse.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/StdInParse/StdInParse.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StdInParse.cpp	1999/11/09 01:09:27	1.1
  +++ StdInParse.cpp	2000/01/12 00:27:01	1.2
  @@ -56,9 +56,12 @@
   
   /**
    * $Log: StdInParse.cpp,v $
  - * Revision 1.1  1999/11/09 01:09:27  twl
  - * Initial revision
  + * Revision 1.2  2000/01/12 00:27:01  roddey
  + * Updates to work with the new URL and input source scheme.
    *
  + * Revision 1.1.1.1  1999/11/09 01:09:27  twl
  + * Initial checkin
  + *
    * Revision 1.5  1999/11/08 20:43:43  rahul
    * Swat for adding in Product name and CVS comment log variable.
    *
  @@ -68,7 +71,7 @@
   // ---------------------------------------------------------------------------
   //  Includes
   // ---------------------------------------------------------------------------
  -#include <internal/StdInInputSource.hpp>
  +#include <framework/StdInInputSource.hpp>
   #include <parsers/SAXParser.hpp>
   #include "StdInParse.hpp"