tng 2002/11/05 13:46:20
Modified: c/samples/CreateDOMDocument CreateDOMDocument.cpp
c/samples/DOMCount DOMCount.hpp
c/samples/DOMPrint DOMPrintErrorHandler.hpp
DOMPrintFilter.hpp DOMTreeErrorReporter.hpp
c/samples/EnumVal EnumVal.cpp
c/samples/MemParse MemParseHandlers.hpp
c/samples/PParse PParseHandlers.hpp
c/samples/Redirect RedirectHandlers.hpp
c/samples/SAX2Count SAX2CountHandlers.hpp
c/samples/SAX2Print SAX2PrintHandlers.hpp
c/samples/SAXCount SAXCountHandlers.hpp
c/samples/SAXPrint SAXPrintHandlers.hpp
c/samples/SEnumVal SEnumVal.cpp
c/samples/StdInParse StdInParseHandlers.hpp
Log:
Explicit code using namespace in application.
Revision Changes Path
1.14 +3 -1 xml-xerces/c/samples/CreateDOMDocument/CreateDOMDocument.cpp
Index: CreateDOMDocument.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/CreateDOMDocument/CreateDOMDocument.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- CreateDOMDocument.cpp 25 Jun 2002 16:21:46 -0000 1.13
+++ CreateDOMDocument.cpp 5 Nov 2002 21:46:19 -0000 1.14
@@ -72,6 +72,8 @@
#include <xercesc/dom/DOM.hpp>
#include <iostream.h>
+XERCES_CPP_NAMESPACE_USE
+
// ---------------------------------------------------------------------------
// This is a simple class that lets us do easy (though not terribly efficient)
// trancoding of char* data to XMLCh data.
1.8 +16 -12 xml-xerces/c/samples/DOMCount/DOMCount.hpp
Index: DOMCount.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/DOMCount/DOMCount.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DOMCount.hpp 18 Jun 2002 16:19:40 -0000 1.7
+++ DOMCount.hpp 5 Nov 2002 21:46:19 -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:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.7 2002/06/18 16:19:40 knoaman
* Replace XercesDOMParser with DOMBuilder for parsing XML documents.
*
@@ -91,6 +94,7 @@
#include <xercesc/util/XMLString.hpp>
#include <iostream.h>
+XERCES_CPP_NAMESPACE_USE
// ---------------------------------------------------------------------------
// Simple error handler deriviative to install on parser
1.2 +22 -17 xml-xerces/c/samples/DOMPrint/DOMPrintErrorHandler.hpp
Index: DOMPrintErrorHandler.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/DOMPrint/DOMPrintErrorHandler.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DOMPrintErrorHandler.hpp 29 May 2002 21:19:50 -0000 1.1
+++ DOMPrintErrorHandler.hpp 5 Nov 2002 21:46:19 -0000 1.2
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 2002 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
@@ -54,9 +54,12 @@
* <http://www.apache.org/>.
*/
-/*
+/*
* $Id$
* $Log$
+ * Revision 1.2 2002/11/05 21:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.1 2002/05/29 21:19:50 peiyongz
* DOM3 DOMWriter/DOMWriterFilter
*
@@ -69,6 +72,8 @@
#include <xercesc/dom/DOMErrorHandler.hpp>
+XERCES_CPP_NAMESPACE_USE
+
class DOMPrintErrorHandler : public DOMErrorHandler
{
public:
@@ -81,10 +86,10 @@
void resetErrors(){};
private :
- /* Unimplemented constructors and operators */
+ /* Unimplemented constructors and operators */
DOMPrintErrorHandler(const DOMErrorHandler&);
void operator=(const DOMErrorHandler&);
-
+
};
#endif
1.4 +7 -2 xml-xerces/c/samples/DOMPrint/DOMPrintFilter.hpp
Index: DOMPrintFilter.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/DOMPrint/DOMPrintFilter.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DOMPrintFilter.hpp 4 Jun 2002 14:22:51 -0000 1.3
+++ DOMPrintFilter.hpp 5 Nov 2002 21:46:19 -0000 1.4
@@ -57,6 +57,9 @@
/*
* $Id$
* $Log$
+ * Revision 1.4 2002/11/05 21:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.3 2002/06/04 14:22:51 peiyongz
* Implement setter/getter from DOMWriterFilter
*
@@ -78,6 +81,8 @@
#include <xercesc/dom/DOMWriterFilter.hpp>
+XERCES_CPP_NAMESPACE_USE
+
class DOMPrintFilter : public DOMWriterFilter {
public:
@@ -102,7 +107,7 @@
DOMPrintFilter(const DOMPrintFilter&);
DOMPrintFilter & operator = (const DOMPrintFilter&);
- unsigned long fWhatToShow;
+ unsigned long fWhatToShow;
};
1.9 +3 -1 xml-xerces/c/samples/DOMPrint/DOMTreeErrorReporter.hpp
Index: DOMTreeErrorReporter.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/DOMPrint/DOMTreeErrorReporter.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DOMTreeErrorReporter.hpp 21 May 2002 19:18:18 -0000 1.8
+++ DOMTreeErrorReporter.hpp 5 Nov 2002 21:46:19 -0000 1.9
@@ -63,6 +63,8 @@
#include <iostream.h>
+XERCES_CPP_NAMESPACE_USE
+
class DOMTreeErrorReporter : public ErrorHandler
{
1.18 +5 -0 xml-xerces/c/samples/EnumVal/EnumVal.cpp
Index: EnumVal.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/EnumVal/EnumVal.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- EnumVal.cpp 17 Apr 2002 20:18:08 -0000 1.17
+++ EnumVal.cpp 5 Nov 2002 21:46:19 -0000 1.18
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.18 2002/11/05 21:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.17 2002/04/17 20:18:08 tng
* [Bug 7493] The word "occured" is misspelled and it is a global error.
*
@@ -124,6 +127,8 @@
#include <stdlib.h>
#include <string.h>
+
+XERCES_CPP_NAMESPACE_USE
// ---------------------------------------------------------------------------
// Forward references
1.6 +17 -12 xml-xerces/c/samples/MemParse/MemParseHandlers.hpp
Index: MemParseHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/MemParse/MemParseHandlers.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- MemParseHandlers.hpp 4 Nov 2002 15:23:03 -0000 1.5
+++ MemParseHandlers.hpp 5 Nov 2002 21:46:19 -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:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.5 2002/11/04 15:23:03 tng
* C++ Namespace Support.
*
@@ -83,6 +86,8 @@
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/sax/HandlerBase.hpp>
+
+XERCES_CPP_NAMESPACE_USE
XERCES_CPP_NAMESPACE_BEGIN
class AttributeList;
1.6 +5 -0 xml-xerces/c/samples/PParse/PParseHandlers.hpp
Index: PParseHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/PParse/PParseHandlers.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PParseHandlers.hpp 1 Feb 2002 22:37:38 -0000 1.5
+++ PParseHandlers.hpp 5 Nov 2002 21:46:19 -0000 1.6
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.6 2002/11/05 21:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.5 2002/02/01 22:37:38 peiyongz
* sane_include
*
@@ -82,6 +85,8 @@
#include <xercesc/sax/HandlerBase.hpp>
+
+XERCES_CPP_NAMESPACE_USE
class PParseHandlers : public HandlerBase
{
1.6 +17 -12 xml-xerces/c/samples/Redirect/RedirectHandlers.hpp
Index: RedirectHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/Redirect/RedirectHandlers.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- RedirectHandlers.hpp 4 Nov 2002 15:23:03 -0000 1.5
+++ RedirectHandlers.hpp 5 Nov 2002 21:46:19 -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:46:19 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.5 2002/11/04 15:23:03 tng
* C++ Namespace Support.
*
@@ -83,6 +86,8 @@
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/sax/HandlerBase.hpp>
+
+XERCES_CPP_NAMESPACE_USE
XERCES_CPP_NAMESPACE_BEGIN
class AttributeList;
1.5 +5 -0 xml-xerces/c/samples/SAX2Count/SAX2CountHandlers.hpp
Index: SAX2CountHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SAX2Count/SAX2CountHandlers.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SAX2CountHandlers.hpp 1 Feb 2002 22:38:52 -0000 1.4
+++ SAX2CountHandlers.hpp 5 Nov 2002 21:46:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/05 21:46:20 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.4 2002/02/01 22:38:52 peiyongz
* sane_include
*
@@ -77,6 +80,8 @@
// ---------------------------------------------------------------------------
#include <xercesc/sax2/Attributes.hpp>
#include <xercesc/sax2/DefaultHandler.hpp>
+
+XERCES_CPP_NAMESPACE_USE
class SAX2CountHandlers : public DefaultHandler
{
1.5 +7 -2 xml-xerces/c/samples/SAX2Print/SAX2PrintHandlers.hpp
Index: SAX2PrintHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SAX2Print/SAX2PrintHandlers.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SAX2PrintHandlers.hpp 1 Feb 2002 22:40:44 -0000 1.4
+++ SAX2PrintHandlers.hpp 5 Nov 2002 21:46:20 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/05 21:46:20 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.4 2002/02/01 22:40:44 peiyongz
* sane_include
*
@@ -75,6 +78,8 @@
#include <xercesc/sax2/DefaultHandler.hpp>
#include <xercesc/framework/XMLFormatter.hpp>
+XERCES_CPP_NAMESPACE_USE
+
class SAX2PrintHandlers : public DefaultHandler, private XMLFormatTarget
{
public:
@@ -111,8 +116,8 @@
// -----------------------------------------------------------------------
void endDocument();
- void endElement( const XMLCh* const uri,
- const XMLCh* const localname,
+ void endElement( const XMLCh* const uri,
+ const XMLCh* const localname,
const XMLCh* const qname);
void characters(const XMLCh* const chars, const unsigned int length);
1.7 +5 -0 xml-xerces/c/samples/SAXCount/SAXCountHandlers.hpp
Index: SAXCountHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SAXCount/SAXCountHandlers.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- SAXCountHandlers.hpp 4 Nov 2002 15:23:03 -0000 1.6
+++ SAXCountHandlers.hpp 5 Nov 2002 21:46:20 -0000 1.7
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.7 2002/11/05 21:46:20 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.6 2002/11/04 15:23:03 tng
* C++ Namespace Support.
*
@@ -86,6 +89,8 @@
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/sax/HandlerBase.hpp>
+
+XERCES_CPP_NAMESPACE_USE
XERCES_CPP_NAMESPACE_BEGIN
class AttributeList;
1.9 +5 -0 xml-xerces/c/samples/SAXPrint/SAXPrintHandlers.hpp
Index: SAXPrintHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SAXPrint/SAXPrintHandlers.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SAXPrintHandlers.hpp 1 Feb 2002 22:41:17 -0000 1.8
+++ SAXPrintHandlers.hpp 5 Nov 2002 21:46:20 -0000 1.9
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.9 2002/11/05 21:46:20 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.8 2002/02/01 22:41:17 peiyongz
* sane_include
*
@@ -94,6 +97,8 @@
#include <xercesc/sax/HandlerBase.hpp>
#include <xercesc/framework/XMLFormatter.hpp>
+
+XERCES_CPP_NAMESPACE_USE
class SAXPrintHandlers : public HandlerBase, private XMLFormatTarget
{
1.13 +7 -1 xml-xerces/c/samples/SEnumVal/SEnumVal.cpp
Index: SEnumVal.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SEnumVal/SEnumVal.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- SEnumVal.cpp 12 Jul 2002 15:51:52 -0000 1.12
+++ SEnumVal.cpp 5 Nov 2002 21:46:20 -0000 1.13
@@ -57,6 +57,9 @@
/*
* $Id$
* $Log$
+ * Revision 1.13 2002/11/05 21:46:20 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.12 2002/07/12 15:51:52 knoaman
* Retrieve the root grammar instead of using the validator.
* Modify the way we print substitution group info.
@@ -105,6 +108,8 @@
#include <stdlib.h>
#include <string.h>
+
+XERCES_CPP_NAMESPACE_USE
// ---------------------------------------------------------------------------
// Forward references
1.6 +17 -12 xml-xerces/c/samples/StdInParse/StdInParseHandlers.hpp
Index: StdInParseHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/StdInParse/StdInParseHandlers.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- StdInParseHandlers.hpp 4 Nov 2002 15:23:03 -0000 1.5
+++ StdInParseHandlers.hpp 5 Nov 2002 21:46:20 -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:46:20 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.5 2002/11/04 15:23:03 tng
* C++ Namespace Support.
*
@@ -83,6 +86,8 @@
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/sax/HandlerBase.hpp>
+
+XERCES_CPP_NAMESPACE_USE
XERCES_CPP_NAMESPACE_BEGIN
class AttributeList;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]