dbertoni    2002/09/20 18:22:51

  Modified:    c/src/TestXSLT process.cpp
  Log:
  Removed obsolete code.
  
  Revision  Changes    Path
  1.88      +2 -58     xml-xalan/c/src/TestXSLT/process.cpp
  
  Index: process.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXSLT/process.cpp,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- process.cpp       13 Aug 2002 05:38:24 -0000      1.87
  +++ process.cpp       21 Sep 2002 01:22:51 -0000      1.88
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999-2000 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -68,10 +68,6 @@
   #include <iostream>
   #endif
   
  -#if defined(XALAN_RTTI_AVAILABLE) && !defined(XALAN_NO_TYPEINFO)
  -#include <typeinfo>
  -#endif
  -
   
   
   #if !defined(NDEBUG) && defined(_MSC_VER)
  @@ -1126,7 +1122,7 @@
                        int                             argc,
                        const char*             argv[])
   {
  -#if !defined(XALAN_USE_ICU) && !defined(NDEBUG) && defined(_MSC_VER)
  +#if !defined(NDEBUG) && defined(_MSC_VER)
        _CrtSetDbgFlag(_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | 
_CRTDBG_LEAK_CHECK_DF);
   
        _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
  @@ -1254,58 +1250,6 @@
   
                        theResult = -5;
                }
  -
  -#if !defined(NDEBUG)
  -             const size_t    theInstanceCount =
  -                             XalanNode::getInstanceCount();
  -
  -             if (theInstanceCount > 0)
  -             {
  -                     cout << "There are "
  -                              << theInstanceCount
  -                              << " XalanNode instances still alive!"
  -                              << endl
  -                              << endl
  -                              << "A dump of these instances follows..."
  -                              << endl
  -                              << endl;
  -
  -                     typedef vector<XalanNode*>      NodeVectorType;
  -
  -                     NodeVectorType  theNodes(theInstanceCount, 
NodeVectorType::value_type(0));
  -
  -                     XalanNode::getLiveInstances(&*theNodes.begin());
  -
  -                     for(size_t i = 0; i < theInstanceCount; ++i)
  -                     {
  -                             const XalanNode* const  theInstance = 
theNodes[i];
  -
  -                             if(theInstance == 0)
  -                             {
  -                                     cout << "No instance information is 
available..."
  -                                              << endl;
  -                             }
  -                             else
  -                             {
  -                                     cout << "("
  -                                              << hex
  -                                              << theInstance
  -                                              << ")  Node name: \""
  -                                              << theInstance->getNodeName()
  -                                              << "\"  Node value: \""
  -                                              << theInstance->getNodeValue()
  -                                              << "\""
  -#if defined(XALAN_RTTI_AVAILABLE)
  -                                              << "  Type: \""
  -                                              << typeid(*theInstance).name()
  -                                              << "\""
  -#endif
  -                                              << endl
  -                                              << endl;
  -                             }
  -                     }
  -             }
  -#endif
   
                XMLPlatformUtils::Terminate();
        }
  
  
  

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

Reply via email to