tng 2002/11/05 13:47:36 Modified: c/tests/DOM/DOMMemTest DOMMemTest.cpp c/tests/DOM/DOMTest DTest.h c/tests/DOM/DeprecatedDOMCount DeprecatedDOMCount.hpp c/tests/DOM/RangeTest RangeTest.cpp c/tests/DOM/Traversal Traversal.cpp c/tests/EncodingTest EncodingTest.cpp c/tests/InitTermTest InitTermTest.hpp c/tests/ParserTest ParserTest_Parser.hpp c/tests/ThreadTest ThreadTest.cpp c/tests/UtilTests CoreTests.hpp Log: Explicit code using namespace in application. Revision Changes Path 1.40 +3 -1 xml-xerces/c/tests/DOM/DOMMemTest/DOMMemTest.cpp Index: DOMMemTest.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/DOM/DOMMemTest/DOMMemTest.cpp,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- DOMMemTest.cpp 8 Aug 2002 14:16:14 -0000 1.39 +++ DOMMemTest.cpp 5 Nov 2002 21:47:35 -0000 1.40 @@ -72,6 +72,8 @@ #include <xercesc/util/XMLUniDefs.hpp> +XERCES_CPP_NAMESPACE_USE + #define TASSERT(c) tassert((c), __FILE__, __LINE__) void tassert(bool c, const char *file, int line) 1.11 +6 -0 xml-xerces/c/tests/DOM/DOMTest/DTest.h Index: DTest.h =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/DOM/DOMTest/DTest.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- DTest.h 4 Nov 2002 15:23:43 -0000 1.10 +++ DTest.h 5 Nov 2002 21:47:35 -0000 1.11 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.11 2002/11/05 21:47:35 tng + * Explicit code using namespace in application. + * * Revision 1.10 2002/11/04 15:23:43 tng * C++ Namespace Support. * @@ -95,9 +98,12 @@ // define null for compatibility with original Java source code. #define null 0 +XERCES_CPP_NAMESPACE_USE + XERCES_CPP_NAMESPACE_BEGIN class XercesDOMParser; XERCES_CPP_NAMESPACE_END + class DOMTest { public: 1.3 +3 -1 xml-xerces/c/tests/DOM/DeprecatedDOMCount/DeprecatedDOMCount.hpp Index: DeprecatedDOMCount.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/DOM/DeprecatedDOMCount/DeprecatedDOMCount.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DeprecatedDOMCount.hpp 4 Nov 2002 15:23:43 -0000 1.2 +++ DeprecatedDOMCount.hpp 5 Nov 2002 21:47:35 -0000 1.3 @@ -64,6 +64,8 @@ #include <xercesc/sax/ErrorHandler.hpp> #include <iostream.h> +XERCES_CPP_NAMESPACE_USE + XERCES_CPP_NAMESPACE_BEGIN class SAXParseException; XERCES_CPP_NAMESPACE_END 1.12 +3 -1 xml-xerces/c/tests/DOM/RangeTest/RangeTest.cpp Index: RangeTest.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/DOM/RangeTest/RangeTest.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- RangeTest.cpp 25 Jun 2002 16:23:24 -0000 1.11 +++ RangeTest.cpp 5 Nov 2002 21:47:35 -0000 1.12 @@ -77,6 +77,8 @@ #include <xercesc/dom/DOMRange.hpp> +XERCES_CPP_NAMESPACE_USE + #define TASSERT(c) tassert((c), __FILE__, __LINE__) void tassert(bool c, const char *file, int line) 1.13 +5 -0 xml-xerces/c/tests/DOM/Traversal/Traversal.cpp Index: Traversal.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/DOM/Traversal/Traversal.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Traversal.cpp 25 Jun 2002 16:23:16 -0000 1.12 +++ Traversal.cpp 5 Nov 2002 21:47:36 -0000 1.13 @@ -66,6 +66,9 @@ /** * $Log$ + * Revision 1.13 2002/11/05 21:47:36 tng + * Explicit code using namespace in application. + * * Revision 1.12 2002/06/25 16:23:16 tng * DOM L3: use release() * @@ -117,6 +120,8 @@ #include <xercesc/util/XMLString.hpp> #include <xercesc/util/XMLUniDefs.hpp> + +XERCES_CPP_NAMESPACE_USE #define TASSERT(c) tassert((c), __FILE__, __LINE__) 1.9 +2 -0 xml-xerces/c/tests/EncodingTest/EncodingTest.cpp Index: EncodingTest.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/EncodingTest/EncodingTest.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- EncodingTest.cpp 12 Jun 2002 18:33:18 -0000 1.8 +++ EncodingTest.cpp 5 Nov 2002 21:47:36 -0000 1.9 @@ -79,6 +79,8 @@ #include <xercesc/dom/DOM.hpp> #include <stdio.h> +XERCES_CPP_NAMESPACE_USE + static int gTestsFailed = 0; static int gTestsRun = 0; static XercesDOMParser* parser = 0; 1.5 +3 -1 xml-xerces/c/tests/InitTermTest/InitTermTest.hpp Index: InitTermTest.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/InitTermTest/InitTermTest.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- InitTermTest.hpp 4 Nov 2002 15:23:44 -0000 1.4 +++ InitTermTest.hpp 5 Nov 2002 21:47:36 -0000 1.5 @@ -64,6 +64,8 @@ #include <xercesc/sax/ErrorHandler.hpp> #include <iostream.h> +XERCES_CPP_NAMESPACE_USE + XERCES_CPP_NAMESPACE_BEGIN class SAXParseException; XERCES_CPP_NAMESPACE_END 1.8 +17 -12 xml-xerces/c/tests/ParserTest/ParserTest_Parser.hpp Index: ParserTest_Parser.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/ParserTest/ParserTest_Parser.hpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ParserTest_Parser.hpp 1 Feb 2002 22:45:54 -0000 1.7 +++ ParserTest_Parser.hpp 5 Nov 2002 21:47:36 -0000 1.8 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.8 2002/11/05 21:47:36 tng + * Explicit code using namespace in application. + * * Revision 1.7 2002/02/01 22:45:54 peiyongz * sane_include * @@ -89,6 +92,8 @@ #include <xercesc/framework/XMLDocumentHandler.hpp> #include <xercesc/framework/XMLErrorReporter.hpp> #include <xercesc/validators/DTD/DocTypeHandler.hpp> + +XERCES_CPP_NAMESPACE_USE class TestParser : 1.24 +3 -1 xml-xerces/c/tests/ThreadTest/ThreadTest.cpp Index: ThreadTest.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/ThreadTest/ThreadTest.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- ThreadTest.cpp 4 Nov 2002 15:23:44 -0000 1.23 +++ ThreadTest.cpp 5 Nov 2002 21:47:36 -0000 1.24 @@ -71,6 +71,8 @@ #include <xercesc/dom/DOM.hpp> +XERCES_CPP_NAMESPACE_USE + void clearFileInfoMemory(); //------------------------------------------------------------------------------ 1.6 +18 -12 xml-xerces/c/tests/UtilTests/CoreTests.hpp Index: CoreTests.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/UtilTests/CoreTests.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CoreTests.hpp 1 Feb 2002 22:46:28 -0000 1.5 +++ CoreTests.hpp 5 Nov 2002 21:47:36 -0000 1.6 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.6 2002/11/05 21:47:36 tng + * Explicit code using namespace in application. + * * Revision 1.5 2002/02/01 22:46:28 peiyongz * sane_include * @@ -83,3 +86,6 @@ #include <xercesc/util/XMLUni.hpp> #include <iostream> + +XERCES_CPP_NAMESPACE_USE +
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]