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:29:49 UTC

cvs commit: xml-xerces/c/tests/ParserTest ParserTest.cpp

roddey      00/01/11 16:29:49

  Modified:    c/tests/ParserTest ParserTest.cpp
  Log:
  Changes for the new URL and InputSource changes.
  
  Revision  Changes    Path
  1.2       +4 -4      xml-xerces/c/tests/ParserTest/ParserTest.cpp
  
  Index: ParserTest.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/ParserTest/ParserTest.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParserTest.cpp	1999/11/09 01:02:14	1.1
  +++ ParserTest.cpp	2000/01/12 00:29:49	1.2
  @@ -56,9 +56,12 @@
   
   /**
    * $Log: ParserTest.cpp,v $
  - * Revision 1.1  1999/11/09 01:02:14  twl
  - * Initial revision
  + * Revision 1.2  2000/01/12 00:29:49  roddey
  + * Changes for the new URL and InputSource changes.
    *
  + * Revision 1.1.1.1  1999/11/09 01:02:14  twl
  + * Initial checkin
  + *
    * Revision 1.3  1999/11/08 20:42:25  rahul
    * Swat for adding in Product name and CVS comment log variable.
    *
  @@ -71,7 +74,6 @@
   #include    <util/PlatformUtils.hpp>
   #include    <util/XMLString.hpp>
   #include    <util/URL.hpp>
  -#include    <internal/URLInputSource.hpp>
   #include    <internal/XMLScanner.hpp>
   #include    <validators/DTD/DTDValidator.hpp>
   #include    "ParserTest.hpp"
  @@ -190,8 +192,7 @@
   
       try
       {
  -        URLInputSource src(urlPath);
  -        scanner.scanDocument(src);
  +        scanner.scanDocument(urlPath);
       }
   
       catch(const XMLException& toCatch)
  @@ -200,6 +201,5 @@
                   << toCatch.getMessage()
                   << EndLn;
       }
  -
       return 0;
   }