You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/11/04 16:04:50 UTC
cvs commit: xml-xerces/c/src/xercesc/dom/deprecated AttrImpl.cpp AttrImpl.hpp AttrMapImpl.cpp AttrMapImpl.hpp AttrNSImpl.cpp AttrNSImpl.hpp CDATASectionImpl.cpp CDATASectionImpl.hpp CharacterDataImpl.cpp CharacterDataImpl.hpp ChildNode.cpp ChildNode.hpp CommentImpl.cpp CommentImpl.hpp DOMParser.cpp DOMParser.hpp DOMString.cpp DOMString.hpp DOMStringImpl.hpp DOM_Attr.cpp DOM_Attr.hpp DOM_CDATASection.cpp DOM_CDATASection.hpp DOM_CharacterData.cpp DOM_CharacterData.hpp DOM_Comment.cpp DOM_Comment.hpp DOM_DOMException.cpp DOM_DOMException.hpp DOM_DOMImplementation.cpp DOM_DOMImplementation.hpp DOM_Document.cpp DOM_Document.hpp DOM_DocumentFragment.cpp DOM_DocumentFragment.hpp DOM_DocumentType.cpp DOM_DocumentType.hpp DOM_Element.cpp DOM_Element.hpp DOM_Entity.cpp DOM_Entity.hpp DOM_EntityReference.cpp DOM_EntityReference.hpp DOM_NamedNodeMap.cpp DOM_NamedNodeMap.hpp DOM_Node.cpp DOM_Node.hpp DOM_NodeFilter.cpp DOM_NodeFilter.hpp DOM_NodeIterator.cpp DOM_NodeIterator.hpp DOM_NodeList.cpp DOM_NodeList.hpp DOM_Notation.cpp DOM_Notation.hpp DOM_ProcessingInstruction.cpp DOM_ProcessingInstruction.hpp DOM_Range.cpp DOM_Range.hpp DOM_RangeException.cpp DOM_RangeException.hpp DOM_Text.cpp DOM_Text.hpp DOM_TreeWalker.cpp DOM_TreeWalker.hpp DOM_XMLDecl.cpp DOM_XMLDecl.hpp DStringPool.cpp DStringPool.hpp DeepNodeListImpl.cpp DeepNodeListImpl.hpp DocumentFragmentImpl.cpp DocumentFragmentImpl.hpp DocumentImpl.cpp DocumentImpl.hpp DocumentTypeImpl.cpp DocumentTypeImpl.hpp DomMemDebug.cpp DomMemDebug.hpp ElementDefinitionImpl.cpp ElementDefinitionImpl.hpp ElementImpl.cpp ElementImpl.hpp ElementNSImpl.cpp ElementNSImpl.hpp EntityImpl.cpp EntityImpl.hpp EntityReferenceImpl.cpp EntityReferenceImpl.hpp MemDebug.hpp NameNodeFilter.hpp NamedNodeMapImpl.cpp NamedNodeMapImpl.hpp NodeIDMap.cpp NodeIDMap.hpp NodeImpl.cpp NodeImpl.hpp NodeIteratorImpl.cpp NodeIteratorImpl.hpp NodeListImpl.cpp NodeListImpl.hpp NodeVector.cpp NodeVector.hpp NotationImpl.cpp NotationImpl.hpp ParentNode.cpp ParentNode.hpp ProcessingInstructionImpl.cpp ProcessingInstructionImpl.hpp RangeImpl.cpp RangeImpl.hpp RefCountedImpl.cpp RefCountedImpl.hpp TextImpl.cpp TextImpl.hpp TreeWalkerImpl.cpp TreeWalkerImpl.hpp XMLDeclImpl.cpp XMLDeclImpl.hpp
tng 2002/11/04 07:04:50
Modified: c/src/xercesc/dom/deprecated AttrImpl.cpp AttrImpl.hpp
AttrMapImpl.cpp AttrMapImpl.hpp AttrNSImpl.cpp
AttrNSImpl.hpp CDATASectionImpl.cpp
CDATASectionImpl.hpp CharacterDataImpl.cpp
CharacterDataImpl.hpp ChildNode.cpp ChildNode.hpp
CommentImpl.cpp CommentImpl.hpp DOMParser.cpp
DOMParser.hpp DOMString.cpp DOMString.hpp
DOMStringImpl.hpp DOM_Attr.cpp DOM_Attr.hpp
DOM_CDATASection.cpp DOM_CDATASection.hpp
DOM_CharacterData.cpp DOM_CharacterData.hpp
DOM_Comment.cpp DOM_Comment.hpp
DOM_DOMException.cpp DOM_DOMException.hpp
DOM_DOMImplementation.cpp DOM_DOMImplementation.hpp
DOM_Document.cpp DOM_Document.hpp
DOM_DocumentFragment.cpp DOM_DocumentFragment.hpp
DOM_DocumentType.cpp DOM_DocumentType.hpp
DOM_Element.cpp DOM_Element.hpp DOM_Entity.cpp
DOM_Entity.hpp DOM_EntityReference.cpp
DOM_EntityReference.hpp DOM_NamedNodeMap.cpp
DOM_NamedNodeMap.hpp DOM_Node.cpp DOM_Node.hpp
DOM_NodeFilter.cpp DOM_NodeFilter.hpp
DOM_NodeIterator.cpp DOM_NodeIterator.hpp
DOM_NodeList.cpp DOM_NodeList.hpp DOM_Notation.cpp
DOM_Notation.hpp DOM_ProcessingInstruction.cpp
DOM_ProcessingInstruction.hpp DOM_Range.cpp
DOM_Range.hpp DOM_RangeException.cpp
DOM_RangeException.hpp DOM_Text.cpp DOM_Text.hpp
DOM_TreeWalker.cpp DOM_TreeWalker.hpp
DOM_XMLDecl.cpp DOM_XMLDecl.hpp DStringPool.cpp
DStringPool.hpp DeepNodeListImpl.cpp
DeepNodeListImpl.hpp DocumentFragmentImpl.cpp
DocumentFragmentImpl.hpp DocumentImpl.cpp
DocumentImpl.hpp DocumentTypeImpl.cpp
DocumentTypeImpl.hpp DomMemDebug.cpp
DomMemDebug.hpp ElementDefinitionImpl.cpp
ElementDefinitionImpl.hpp ElementImpl.cpp
ElementImpl.hpp ElementNSImpl.cpp ElementNSImpl.hpp
EntityImpl.cpp EntityImpl.hpp
EntityReferenceImpl.cpp EntityReferenceImpl.hpp
MemDebug.hpp NameNodeFilter.hpp
NamedNodeMapImpl.cpp NamedNodeMapImpl.hpp
NodeIDMap.cpp NodeIDMap.hpp NodeImpl.cpp
NodeImpl.hpp NodeIteratorImpl.cpp
NodeIteratorImpl.hpp NodeListImpl.cpp
NodeListImpl.hpp NodeVector.cpp NodeVector.hpp
NotationImpl.cpp NotationImpl.hpp ParentNode.cpp
ParentNode.hpp ProcessingInstructionImpl.cpp
ProcessingInstructionImpl.hpp RangeImpl.cpp
RangeImpl.hpp RefCountedImpl.cpp RefCountedImpl.hpp
TextImpl.cpp TextImpl.hpp TreeWalkerImpl.cpp
TreeWalkerImpl.hpp XMLDeclImpl.cpp XMLDeclImpl.hpp
Log:
C++ Namespace Support.
Revision Changes Path
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.cpp
Index: AttrImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AttrImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ AttrImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -70,6 +70,9 @@
#include "NodeIDMap.hpp"
#include "RangeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
/*
* The handling of the value field being either the first child node (a
* ChildNode*) or directly the value (a DOMString) is rather tricky. In the
@@ -687,3 +690,6 @@
// changed() will have occurred when the removeChild() was done,
// so does not have to be reissued.
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.hpp
Index: AttrImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/AttrImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AttrImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ AttrImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -142,6 +142,9 @@
#include "ChildNode.hpp"
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class ElementImpl;
class CDOM_EXPORT AttrImpl: public NodeImpl {
@@ -196,5 +199,7 @@
void lastChild(ChildNode *);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +22 -16 xml-xerces/c/src/xercesc/dom/deprecated/AttrMapImpl.cpp
Index: AttrMapImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/AttrMapImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AttrMapImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ AttrMapImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -64,6 +64,9 @@
#include "NodeImpl.hpp"
#include "ElementImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
AttrMapImpl::AttrMapImpl(NodeImpl *ownerNod)
: NamedNodeMapImpl(ownerNod)
{
@@ -74,14 +77,14 @@
: NamedNodeMapImpl(ownerNod)
{
hasDefaults(false);
- if (defaults != null)
+ if (defaults != null)
{
- if (defaults->getLength() > 0)
+ if (defaults->getLength() > 0)
{
hasDefaults(true);
cloneContent(defaults);
}
- }
+ }
}
AttrMapImpl::~AttrMapImpl()
@@ -135,3 +138,6 @@
return removed;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +19 -14 xml-xerces/c/src/xercesc/dom/deprecated/AttrMapImpl.hpp
Index: AttrMapImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/AttrMapImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AttrMapImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ AttrMapImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -75,9 +75,12 @@
#include "NodeImpl.hpp"
#include "NamedNodeMapImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NamedNodeMapImpl;
-class CDOM_EXPORT AttrMapImpl : public NamedNodeMapImpl
+class CDOM_EXPORT AttrMapImpl : public NamedNodeMapImpl
{
private:
bool attrDefaults;
@@ -108,5 +111,7 @@
attrDefaults = value;
}
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/AttrNSImpl.cpp
Index: AttrNSImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/AttrNSImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AttrNSImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ AttrNSImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "DocumentImpl.hpp"
#include "DOM_DOMException.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
AttrNSImpl::AttrNSImpl(DocumentImpl *ownerDoc, const DOMString &nam) :
AttrImpl(ownerDoc, nam)
@@ -173,3 +176,6 @@
name = prefix + chColon + localName; //nodeName is changed too
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +21 -16 xml-xerces/c/src/xercesc/dom/deprecated/AttrNSImpl.hpp
Index: AttrNSImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/AttrNSImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AttrNSImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ AttrNSImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -73,20 +73,23 @@
#include "AttrImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT AttrNSImpl: public AttrImpl {
protected:
//Introduced in DOM Level 2
DOMString namespaceURI; //namespace URI of this node
DOMString localName; //local part of qualified name
-
-
+
+
public:
AttrNSImpl(DocumentImpl *ownerDoc, const DOMString &name);
AttrNSImpl(DocumentImpl *ownerDoc, //DOM Level 2
const DOMString &namespaceURI, const DOMString &qualifiedName);
AttrNSImpl(const AttrNSImpl &other, bool deep=false);
-
+
virtual NodeImpl * cloneNode(bool deep);
//Introduced in DOM Level 2
virtual DOMString getNamespaceURI();
@@ -94,5 +97,7 @@
virtual DOMString getLocalName();
virtual void setPrefix(const DOMString &prefix);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +20 -14 xml-xerces/c/src/xercesc/dom/deprecated/CDATASectionImpl.cpp
Index: CDATASectionImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/CDATASectionImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CDATASectionImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ CDATASectionImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -63,6 +63,9 @@
#include "DocumentImpl.hpp"
#include "DStringPool.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *gcdata_section = 0; // will be lazily initialized
static XMLRegisterCleanup gcdata_sectionCleanup;
@@ -87,7 +90,7 @@
NodeImpl *CDATASectionImpl::cloneNode(bool deep)
{
return new CDATASectionImpl(*this, deep);
-};
+};
DOMString CDATASectionImpl::getNodeName() {
@@ -116,3 +119,6 @@
delete gcdata_section;
gcdata_section = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +18 -14 xml-xerces/c/src/xercesc/dom/deprecated/CDATASectionImpl.hpp
Index: CDATASectionImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/CDATASectionImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CDATASectionImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ CDATASectionImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -2,38 +2,38 @@
#define CDATASectionImpl_HEADER_GUARD_
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -47,7 +47,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
@@ -73,12 +73,14 @@
#include <xercesc/util/XercesDefs.hpp>
#include "TextImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT CDATASectionImpl: public TextImpl {
public:
CDATASectionImpl(DocumentImpl *ownerDoc, const DOMString & data);
CDATASectionImpl(const CDATASectionImpl &other, bool deep = false);
-
+
virtual ~CDATASectionImpl();
virtual NodeImpl *cloneNode(bool deep);
virtual DOMString getNodeName();
@@ -90,6 +92,8 @@
// -----------------------------------------------------------------------
static void reinitCDATASectionImpl();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +26 -22 xml-xerces/c/src/xercesc/dom/deprecated/CharacterDataImpl.cpp
Index: CharacterDataImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/CharacterDataImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CharacterDataImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ CharacterDataImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -63,6 +63,8 @@
#include "RangeImpl.hpp"
#include "DocumentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
CharacterDataImpl::CharacterDataImpl(DocumentImpl *ownerDoc,
const DOMString &dat)
@@ -115,7 +117,7 @@
if(isReadOnly())
throw DOM_DOMException(
DOM_DOMException::NO_MODIFICATION_ALLOWED_ERR, null);
-
+
this->data.appendData(dat);
};
@@ -128,7 +130,7 @@
// Note: the C++ DOMString operation throws the correct DOMExceptions
// when parameter values are bad.
- //
+ //
data.deleteData(offset, count);
if (this->getOwnerDocument() != null) {
@@ -150,7 +152,7 @@
DOMString &CharacterDataImpl::getData()
{
- return data;
+ return data;
};
@@ -166,21 +168,21 @@
//
unsigned int CharacterDataImpl::getCharDataLength()
{
- return data.length();
+ return data.length();
};
-void CharacterDataImpl::insertData(unsigned int offset, const DOMString &dat)
+void CharacterDataImpl::insertData(unsigned int offset, const DOMString &dat)
{
-
+
if (isReadOnly())
throw DOM_DOMException(
DOM_DOMException::NO_MODIFICATION_ALLOWED_ERR, null);
-
+
// Note: the C++ DOMString operation throws the correct DOMExceptions
// when parameter values are bad.
- //
+ //
this->data.insertData(offset, dat);
}
@@ -217,7 +219,9 @@
// Note: the C++ DOMString operation throws the correct DOMExceptions
// when parameter values are bad.
- //
+ //
return data.substringData(offset, count);
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +19 -14 xml-xerces/c/src/xercesc/dom/deprecated/CharacterDataImpl.hpp
Index: CharacterDataImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/CharacterDataImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CharacterDataImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ CharacterDataImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -74,6 +74,9 @@
#include "ChildNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT CharacterDataImpl: public ChildNode
{
protected:
@@ -93,8 +96,10 @@
virtual void replaceData(unsigned int offset, unsigned int count, const DOMString &data);
virtual void setData(const DOMString &arg);
virtual DOMString substringData(unsigned int offset, unsigned int count);
-
+
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/ChildNode.cpp
Index: ChildNode.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ChildNode.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChildNode.cpp 21 May 2002 20:15:00 -0000 1.2
+++ ChildNode.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,9 @@
#include "ChildNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
ChildNode::ChildNode(DocumentImpl *ownerDoc)
: NodeImpl(ownerDoc)
{
@@ -99,3 +102,6 @@
// parent's lastChild, but we hide that
return isFirstChild() ? null : previousSibling;
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +19 -14 xml-xerces/c/src/xercesc/dom/deprecated/ChildNode.hpp
Index: ChildNode.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ChildNode.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChildNode.hpp 21 May 2002 20:15:00 -0000 1.2
+++ ChildNode.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 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
@@ -48,7 +48,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
@@ -77,6 +77,9 @@
#include "NodeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT ChildNode: public NodeImpl {
public:
ChildNode *previousSibling;
@@ -86,11 +89,13 @@
ChildNode(DocumentImpl *ownerDocument);
ChildNode(const ChildNode &other);
virtual ~ChildNode();
-
+
virtual NodeImpl * getNextSibling();
virtual NodeImpl * getParentNode();
virtual NodeImpl* getPreviousSibling();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +20 -14 xml-xerces/c/src/xercesc/dom/deprecated/CommentImpl.cpp
Index: CommentImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/CommentImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CommentImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ CommentImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -62,7 +62,7 @@
* Represents an XML (or HTML) comment.
*
* @author Rania Y. Khalaf
- * @author Joseph Kesselman
+ * @author Joseph Kesselman
* @since PR-DOM-Level-1-19980818.
*/
@@ -72,6 +72,9 @@
#include "DocumentImpl.hpp"
#include "DStringPool.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *gComment = 0; // will be lazily initialized to "#comment"
static XMLRegisterCleanup gCommentCleanup;
@@ -116,3 +119,6 @@
delete gComment;
gComment = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +19 -14 xml-xerces/c/src/xercesc/dom/deprecated/CommentImpl.hpp
Index: CommentImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/CommentImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CommentImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ CommentImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -75,6 +75,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "CharacterDataImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT CommentImpl: public CharacterDataImpl {
public:
CommentImpl(DocumentImpl *, const DOMString &);
@@ -90,5 +93,7 @@
static void reinitCommentImpl();
};
+XERCES_CPP_NAMESPACE_END
+
#endif
-
+
1.9 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOMParser.cpp
Index: DOMParser.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOMParser.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DOMParser.cpp 14 Aug 2002 15:20:37 -0000 1.8
+++ DOMParser.cpp 4 Nov 2002 15:04:44 -0000 1.9
@@ -92,6 +92,9 @@
#include <xercesc/validators/common/ContentSpecNode.hpp>
#include <xercesc/validators/DTD/DTDAttDefList.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
// ---------------------------------------------------------------------------
// DOMParser: Constructors and Destructor
// ---------------------------------------------------------------------------
@@ -1339,4 +1342,6 @@
{
fScanner->resetCachedGrammarPool();
}
+
+XERCES_CPP_NAMESPACE_END
1.11 +7 -2 xml-xerces/c/src/xercesc/dom/deprecated/DOMParser.hpp
Index: DOMParser.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOMParser.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- DOMParser.hpp 14 Aug 2002 15:20:37 -0000 1.10
+++ DOMParser.hpp 4 Nov 2002 15:04:44 -0000 1.11
@@ -73,6 +73,9 @@
#include "DOM_Document.hpp"
#include "DOM_DocumentType.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class EntityResolver;
class ErrorHandler;
class XMLPScanToken;
@@ -418,7 +421,7 @@
*
* @param uriId id of the string in the URI string pool.
* @return URI string corresponding to the URI id.
- */
+ */
const XMLCh* getURIText(unsigned int uriId);
//@}
@@ -1798,5 +1801,7 @@
{
fDocument = toSet;
}
+
+XERCES_CPP_NAMESPACE_END
#endif
1.5 +3 -3 xml-xerces/c/src/xercesc/dom/deprecated/DOMString.cpp
Index: DOMString.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOMString.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DOMString.cpp 5 Sep 2002 16:48:46 -0000 1.4
+++ DOMString.cpp 4 Nov 2002 15:04:44 -0000 1.5
@@ -74,7 +74,7 @@
#include <assert.h>
#include <string.h>
-
+XERCES_CPP_NAMESPACE_BEGIN
//----------------------------------------------
//
@@ -1144,5 +1144,5 @@
};
-
+XERCES_CPP_NAMESPACE_END
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOMString.hpp
Index: DOMString.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOMString.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMString.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOMString.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -65,7 +65,9 @@
#ifdef XML_DEBUG
#include "DOMStringImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
#else
+XERCES_CPP_NAMESPACE_BEGIN
class DOMStringHandle;
#endif
@@ -478,5 +480,7 @@
* @return The concatenated object
*/
DOMString CDOM_EXPORT operator + (XMLCh lhs, const DOMString &rhs);
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +3 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOMStringImpl.hpp
Index: DOMStringImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOMStringImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMStringImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOMStringImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -76,6 +76,7 @@
#include <xercesc/util/Mutexes.hpp>
#include <stdio.h>
+XERCES_CPP_NAMESPACE_BEGIN
class DOMStringData
{
@@ -120,6 +121,7 @@
static inline XMLMutex &getMutex();
};
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Attr.cpp
Index: DOM_Attr.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Attr.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Attr.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Attr.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,9 @@
#include "DOM_Attr.hpp"
#include "AttrImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
DOM_Attr::DOM_Attr()
: DOM_Node(null)
@@ -131,3 +134,6 @@
{
return DOM_Element(((AttrImpl *)fImpl)->getOwnerElement());
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Attr.hpp
Index: DOM_Attr.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Attr.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Attr.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Attr.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -65,6 +65,9 @@
#include "DOM_Node.hpp"
#include "DOM_Element.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class AttrImpl;
/**
@@ -204,6 +207,8 @@
friend class DOM_Document;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +4 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_CDATASection.cpp
Index: DOM_CDATASection.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_CDATASection.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_CDATASection.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_CDATASection.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,7 @@
#include "DOM_Text.hpp"
#include "CDATASectionImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_CDATASection::DOM_CDATASection()
@@ -98,4 +99,6 @@
return (DOM_CDATASection &) DOM_Node::operator = (other);
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_CDATASection.hpp
Index: DOM_CDATASection.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_CDATASection.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_CDATASection.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_CDATASection.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Text.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDATASectionImpl;
/**
@@ -141,6 +144,9 @@
friend class DOM_Document;
};
+
+XERCES_CPP_NAMESPACE_END
+
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_CharacterData.cpp
Index: DOM_CharacterData.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_CharacterData.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_CharacterData.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_CharacterData.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,8 @@
#include "DOM_CharacterData.hpp"
#include "CharacterDataImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_CharacterData::DOM_CharacterData()
: DOM_Node(null)
@@ -144,4 +146,6 @@
((CharacterDataImpl *)fImpl)->replaceData(offset, count, arg);
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_CharacterData.hpp
Index: DOM_CharacterData.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_CharacterData.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_CharacterData.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_CharacterData.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CharacterDataImpl;
/**
@@ -254,6 +257,8 @@
DOM_CharacterData(CharacterDataImpl *impl);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Comment.cpp
Index: DOM_Comment.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Comment.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Comment.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Comment.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,8 @@
#include "DOM_Comment.hpp"
#include "CommentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_Comment::DOM_Comment()
: DOM_CharacterData(null)
@@ -95,4 +97,6 @@
return (DOM_Comment &) DOM_Node::operator = (other);
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Comment.hpp
Index: DOM_Comment.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Comment.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Comment.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Comment.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_CharacterData.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CommentImpl;
/**
@@ -140,6 +143,8 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMException.cpp
Index: DOM_DOMException.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMException.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DOMException.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DOMException.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,8 @@
#include "DOM_DOMException.hpp"
#include "DOMString.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_DOMException::DOM_DOMException()
: msg(0)
@@ -86,3 +88,6 @@
DOM_DOMException::~DOM_DOMException()
{
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMException.hpp
Index: DOM_DOMException.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMException.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DOMException.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DOMException.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOMString.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
/**
* Encapsulate a general DOM error or warning.
*
@@ -158,6 +161,8 @@
//@}
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMImplementation.cpp
Index: DOM_DOMImplementation.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMImplementation.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DOMImplementation.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DOMImplementation.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -68,6 +68,9 @@
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/XMLRegisterCleanup.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
//
// Static constants. These are lazily initialized on first usage.
// (Static constructors can not be safely used because
@@ -243,3 +246,6 @@
gCore = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMImplementation.hpp
Index: DOM_DOMImplementation.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DOMImplementation.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DOMImplementation.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DOMImplementation.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOMString.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DOM_Document;
class DOM_DocumentType;
@@ -194,5 +197,7 @@
// -----------------------------------------------------------------------
static void reinitDOM_DOMImplementation();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Document.cpp
Index: DOM_Document.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Document.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Document.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Document.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -65,6 +65,7 @@
#include "NodeIteratorImpl.hpp"
#include "TreeWalkerImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_Document::DOM_Document (DocumentImpl *impl) :
@@ -260,3 +261,6 @@
bool DOM_Document::getErrorChecking() {
return ((DocumentImpl *)fImpl)->getErrorChecking();
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Document.hpp
Index: DOM_Document.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Document.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Document.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Document.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -81,6 +81,9 @@
#include "DOM_XMLDecl.hpp"
#include "DOM_Range.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DocumentImpl;
class NodeIteratorImpl;
@@ -609,5 +612,7 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +4 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentFragment.cpp
Index: DOM_DocumentFragment.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentFragment.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DocumentFragment.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DocumentFragment.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,7 @@
#include "DOM_DocumentFragment.hpp"
#include "DocumentFragmentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_DocumentFragment::DOM_DocumentFragment()
@@ -97,4 +98,6 @@
return (DOM_DocumentFragment &) DOM_Node::operator = (other);
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentFragment.hpp
Index: DOM_DocumentFragment.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentFragment.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DocumentFragment.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DocumentFragment.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DocumentFragmentImpl;
/**
@@ -172,5 +175,7 @@
friend class DOM_Document;
friend class RangeImpl;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentType.cpp
Index: DOM_DocumentType.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentType.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DocumentType.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DocumentType.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,7 @@
#include "DOM_NamedNodeMap.hpp"
#include <assert.h>
+XERCES_CPP_NAMESPACE_BEGIN
DOM_DocumentType::DOM_DocumentType()
@@ -147,3 +148,6 @@
{
return ((DocumentTypeImpl *)fImpl)->getInternalSubset().clone();
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentType.hpp
Index: DOM_DocumentType.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_DocumentType.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_DocumentType.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_DocumentType.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DOM_NamedNodeMap;
class DocumentTypeImpl;
@@ -204,6 +207,8 @@
friend class DOM_Document;
friend class DOM_DOMImplementation;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Element.cpp
Index: DOM_Element.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Element.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Element.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Element.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,8 @@
#include "ElementImpl.hpp"
#include "DeepNodeListImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_Element::DOM_Element()
: DOM_Node(null)
@@ -215,4 +217,6 @@
return ((ElementImpl *)fImpl)->hasAttributeNS(namespaceURI, localName);
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Element.hpp
Index: DOM_Element.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Element.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Element.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Element.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DOM_Attr;
class DOM_NodeList;
class ElementImpl;
@@ -442,6 +445,8 @@
friend class DOM_Attr;
friend class TraverseSchema;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Entity.cpp
Index: DOM_Entity.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Entity.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Entity.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Entity.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,7 @@
#include "EntityImpl.hpp"
#include "DOM_NodeList.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_Entity::DOM_Entity()
@@ -145,3 +146,6 @@
{
return DOM_Node(((EntityImpl*)fImpl)->getNextSibling());
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Entity.hpp
Index: DOM_Entity.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Entity.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Entity.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Entity.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class EntityImpl;
/**
@@ -168,6 +171,8 @@
friend class DOM_Document;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_EntityReference.cpp
Index: DOM_EntityReference.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_EntityReference.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_EntityReference.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_EntityReference.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,8 @@
#include "DOM_EntityReference.hpp"
#include "EntityReferenceImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_EntityReference::DOM_EntityReference()
: DOM_Node(null)
@@ -96,4 +98,6 @@
return (DOM_EntityReference &) DOM_Node::operator = (other);
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_EntityReference.hpp
Index: DOM_EntityReference.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_EntityReference.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_EntityReference.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_EntityReference.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class EntityReferenceImpl;
/**
@@ -138,6 +141,8 @@
friend class DOM_Document;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NamedNodeMap.cpp
Index: DOM_NamedNodeMap.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NamedNodeMap.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NamedNodeMap.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NamedNodeMap.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "NamedNodeMapImpl.hpp"
#include "ElementImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
const unsigned short DOM_NamedNodeMap::NNM_ELEMENT = 0;
const unsigned short DOM_NamedNodeMap::NNM_OTHER = 1;
@@ -212,3 +215,6 @@
return (flagElem == NNM_OTHER) ? DOM_Node(((NamedNodeMapImpl *)fImpl)->removeNamedItemNS(namespaceURI, localName)) :
DOM_Node(((ElementImpl *)fImpl)->NNM_removeNamedItemNS(namespaceURI, localName));
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NamedNodeMap.hpp
Index: DOM_NamedNodeMap.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NamedNodeMap.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NamedNodeMap.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NamedNodeMap.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,10 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NamedNodeMapImpl;
/**
@@ -344,6 +348,8 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Node.cpp
Index: DOM_Node.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Node.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Node.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Node.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -66,6 +66,9 @@
#include "NodeImpl.hpp"
#include <assert.h>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
DOM_Node::DOM_Node()
{
fImpl = null;
@@ -305,4 +308,6 @@
{
return fImpl->hasAttributes();
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +4 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Node.hpp
Index: DOM_Node.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Node.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Node.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Node.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,8 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOMString.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class DOM_NodeList;
class DOM_NamedNodeMap;
class DOM_Document;
@@ -625,6 +627,7 @@
};
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeFilter.cpp
Index: DOM_NodeFilter.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeFilter.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NodeFilter.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NodeFilter.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,8 @@
#include "DOM_NodeFilter.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_NodeFilter::DOM_NodeFilter() {
@@ -73,5 +75,7 @@
DOM_NodeFilter::~DOM_NodeFilter() {
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeFilter.hpp
Index: DOM_NodeFilter.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeFilter.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NodeFilter.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NodeFilter.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -67,6 +67,9 @@
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NodeFilterImpl;
@@ -173,5 +176,7 @@
bool operator == (const DOM_NodeFilter &other) const;
bool operator != (const DOM_NodeFilter &other) const;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeIterator.cpp
Index: DOM_NodeIterator.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeIterator.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NodeIterator.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NodeIterator.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,7 @@
#include "NodeIteratorImpl.hpp"
#include "RefCountedImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
@@ -179,3 +180,6 @@
DOM_Node DOM_NodeIterator::previousNode() {
return fImpl->previousNode();
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeIterator.hpp
Index: DOM_NodeIterator.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeIterator.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NodeIterator.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NodeIterator.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include "DOM_NodeFilter.hpp"
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NodeIteratorImpl;
/**
@@ -219,5 +222,7 @@
private:
NodeIteratorImpl* fImpl;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeList.cpp
Index: DOM_NodeList.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeList.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NodeList.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NodeList.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "DOM_Node.hpp"
#include <assert.h>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
DOM_NodeList::DOM_NodeList()
{
fImpl = 0;
@@ -146,3 +149,6 @@
{
return fImpl->getLength();
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeList.hpp
Index: DOM_NodeList.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_NodeList.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_NodeList.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_NodeList.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NodeListImpl;
/**
@@ -216,6 +219,8 @@
friend class DOM_Entity;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Notation.cpp
Index: DOM_Notation.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Notation.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Notation.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Notation.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,8 @@
#include "DOM_Notation.hpp"
#include "NotationImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DOM_Notation::DOM_Notation()
: DOM_Node(null)
@@ -108,3 +110,6 @@
{
return ((NotationImpl *)fImpl)->getSystemId();
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Notation.hpp
Index: DOM_Notation.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Notation.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Notation.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Notation.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NotationImpl;
/**
@@ -166,6 +169,8 @@
friend class DOM_Document;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +4 -2 xml-xerces/c/src/xercesc/dom/deprecated/DOM_ProcessingInstruction.cpp
Index: DOM_ProcessingInstruction.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_ProcessingInstruction.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_ProcessingInstruction.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_ProcessingInstruction.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,7 +61,7 @@
#include "DOM_ProcessingInstruction.hpp"
#include "ProcessingInstructionImpl.hpp"
-
+XERCES_CPP_NAMESPACE_BEGIN
DOM_ProcessingInstruction::DOM_ProcessingInstruction()
@@ -120,4 +120,6 @@
((ProcessingInstructionImpl *)fImpl)->setData(data.clone());
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_ProcessingInstruction.hpp
Index: DOM_ProcessingInstruction.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_ProcessingInstruction.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_ProcessingInstruction.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_ProcessingInstruction.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class ProcessingInstructionImpl;
/**
@@ -171,6 +174,8 @@
friend class DOM_Document;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -4 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Range.cpp
Index: DOM_Range.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Range.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Range.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Range.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,7 @@
#include "DocumentImpl.hpp"
#include "RangeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_Range::DOM_Range()
@@ -153,7 +154,7 @@
return ((RangeImpl *)fImpl)->getCommonAncestorContainer();
}
-//setter functions
+//setter functions
void DOM_Range::setStart(const DOM_Node& parent, unsigned int offset)
{
@@ -198,11 +199,11 @@
void DOM_Range::selectNode(const DOM_Node& node)
{
- ((RangeImpl *)fImpl)->selectNode(node);
+ ((RangeImpl *)fImpl)->selectNode(node);
}
void DOM_Range::selectNodeContents(const DOM_Node& node)
{
- ((RangeImpl *)fImpl)->selectNodeContents(node);
+ ((RangeImpl *)fImpl)->selectNodeContents(node);
}
//Functions related to comparing ange Boundrary-Points
@@ -251,4 +252,6 @@
{
((RangeImpl *)fImpl)->detach();
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Range.hpp
Index: DOM_Range.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Range.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Range.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Range.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -66,6 +66,9 @@
#include "DOMString.hpp"
#include "DOM_DocumentFragment.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class RangeImpl;
//class RangeImpl;
@@ -140,5 +143,7 @@
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_RangeException.cpp
Index: DOM_RangeException.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_RangeException.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_RangeException.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_RangeException.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -60,6 +60,9 @@
#include "DOM_RangeException.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
DOM_RangeException::DOM_RangeException()
: DOM_DOMException()
@@ -85,3 +88,6 @@
DOM_RangeException::~DOM_RangeException()
{
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_RangeException.hpp
Index: DOM_RangeException.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_RangeException.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_RangeException.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_RangeException.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "DOM_DOMException.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
/**
* Encapsulate range related DOM error or warning. DOM level 2 implementation.
*
@@ -134,6 +137,8 @@
//@}
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Text.cpp
Index: DOM_Text.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Text.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Text.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Text.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,7 @@
#include "DOM_Text.hpp"
#include "TextImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_Text::DOM_Text()
@@ -108,3 +109,6 @@
{
return ((TextImpl *)fImpl)->isIgnorableWhitespace();
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_Text.hpp
Index: DOM_Text.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_Text.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_Text.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_Text.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_CharacterData.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class TextImpl;
@@ -188,6 +191,8 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +4 -3 xml-xerces/c/src/xercesc/dom/deprecated/DOM_TreeWalker.cpp
Index: DOM_TreeWalker.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_TreeWalker.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_TreeWalker.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_TreeWalker.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,8 +62,7 @@
#include "RefCountedImpl.hpp"
#include "TreeWalkerImpl.hpp"
-
-
+XERCES_CPP_NAMESPACE_BEGIN
DOM_TreeWalker::DOM_TreeWalker()
@@ -199,5 +198,7 @@
DOM_Node DOM_TreeWalker::nextNode() {
return fImpl->nextNode();
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_TreeWalker.hpp
Index: DOM_TreeWalker.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_TreeWalker.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_TreeWalker.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_TreeWalker.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include "DOM_Node.hpp"
#include "DOM_NodeFilter.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class TreeWalkerImpl;
@@ -268,5 +271,7 @@
private:
TreeWalkerImpl* fImpl;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +4 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_XMLDecl.cpp
Index: DOM_XMLDecl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_XMLDecl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_XMLDecl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_XMLDecl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,7 @@
#include "DOM_XMLDecl.hpp"
#include "XMLDeclImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
DOM_XMLDecl::DOM_XMLDecl() :
@@ -109,4 +110,6 @@
{
return DOMString( ((XMLDeclImpl*)fImpl)->getStandalone());
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DOM_XMLDecl.hpp
Index: DOM_XMLDecl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DOM_XMLDecl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOM_XMLDecl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DOM_XMLDecl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -65,6 +65,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class XMLDeclImpl;
/**
* Class to refer to XML Declaration nodes in the DOM.
@@ -160,5 +163,7 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DStringPool.cpp
Index: DStringPool.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DStringPool.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DStringPool.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DStringPool.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -67,6 +67,9 @@
#include <xercesc/util/XMLString.hpp>
#include <xercesc/util/PlatformUtils.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
//
// DStringPoolEntry - one of these structs is allocated for each
// DOMString in the pool. Each slot in the
@@ -190,3 +193,6 @@
}
return **loc;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +5 -0 xml-xerces/c/src/xercesc/dom/deprecated/DStringPool.hpp
Index: DStringPool.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DStringPool.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DStringPool.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DStringPool.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -75,6 +75,9 @@
#include "DOMString.hpp"
#include <xercesc/util/XMLRegisterCleanup.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
struct DStringPoolEntry;
//
@@ -106,5 +109,7 @@
DStringPoolEntry **fHashTable;
int fHashTableSize;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DeepNodeListImpl.cpp
Index: DeepNodeListImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DeepNodeListImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DeepNodeListImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ DeepNodeListImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -65,6 +65,9 @@
#include "DStringPool.hpp"
#include <limits.h>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *kAstr = 0;
static XMLRegisterCleanup kAstrCleanup;
@@ -240,3 +243,6 @@
delete kAstr;
kAstr = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DeepNodeListImpl.hpp
Index: DeepNodeListImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DeepNodeListImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DeepNodeListImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ DeepNodeListImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -75,6 +75,9 @@
#include "DOMString.hpp"
#include "NodeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NodeImpl;
class NodeVector;
@@ -109,5 +112,7 @@
virtual NodeImpl *nextMatchingElementAfter(NodeImpl *current);
virtual void unreferenced();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DocumentFragmentImpl.cpp
Index: DocumentFragmentImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentFragmentImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DocumentFragmentImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ DocumentFragmentImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "DOM_DOMException.hpp"
#include "DStringPool.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *nam = 0; // Will be lazily initialized to "#document-fragment"
static XMLRegisterCleanup namCleanup;
@@ -120,3 +123,6 @@
delete nam;
nam = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DocumentFragmentImpl.hpp
Index: DocumentFragmentImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentFragmentImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DocumentFragmentImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ DocumentFragmentImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -72,6 +72,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "ParentNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT DocumentFragmentImpl: public ParentNode {
protected:
DocumentFragmentImpl(DocumentImpl *);
@@ -92,6 +95,8 @@
// -----------------------------------------------------------------------
static void reinitDocumentFragmentImpl();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.4 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/DocumentImpl.cpp
Index: DocumentImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentImpl.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DocumentImpl.cpp 16 Jul 2002 18:22:45 -0000 1.3
+++ DocumentImpl.cpp 4 Nov 2002 15:04:44 -0000 1.4
@@ -92,6 +92,9 @@
#include "RangeImpl.hpp"
#include "DOM_Document.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *nam = 0; // will be lazily initialized to "#document"
static XMLRegisterCleanup namCleanup;
@@ -874,3 +877,6 @@
delete nam;
nam = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DocumentImpl.hpp
Index: DocumentImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DocumentImpl.hpp 21 May 2002 20:15:00 -0000 1.2
+++ DocumentImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -78,6 +78,9 @@
#include "xercesc/util/RefHashTableOf.hpp"
#include "XMLDeclImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DocumentTypeImpl;
class ElementImpl;
class AttrImpl;
@@ -271,5 +274,7 @@
static void reinitDocumentImpl();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DocumentTypeImpl.cpp
Index: DocumentTypeImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentTypeImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DocumentTypeImpl.cpp 21 May 2002 20:15:00 -0000 1.2
+++ DocumentTypeImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,8 @@
#include "DOM_DOMException.hpp"
#include "DocumentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
DocumentTypeImpl::DocumentTypeImpl(DocumentImpl *ownerDoc,
const DOMString &dtName)
@@ -247,3 +249,6 @@
return;
internalSubset = value.clone();
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DocumentTypeImpl.hpp
Index: DocumentTypeImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DocumentTypeImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DocumentTypeImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DocumentTypeImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -75,6 +75,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "ParentNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NamedNodeMapImpl;
class CDOM_EXPORT DocumentTypeImpl: public ParentNode {
@@ -121,5 +124,7 @@
virtual DOMString getSystemId();
virtual DOMString getInternalSubset();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DomMemDebug.cpp
Index: DomMemDebug.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DomMemDebug.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DomMemDebug.cpp 21 May 2002 20:15:01 -0000 1.2
+++ DomMemDebug.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -65,6 +65,8 @@
#include "NamedNodeMapImpl.hpp"
#include <stdio.h>
+XERCES_CPP_NAMESPACE_BEGIN
+
DomMemDebug::DomMemDebug()
{
@@ -157,3 +159,6 @@
printf("\n");
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/DomMemDebug.hpp
Index: DomMemDebug.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/DomMemDebug.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DomMemDebug.hpp 21 May 2002 20:15:01 -0000 1.2
+++ DomMemDebug.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include <xercesc/util/XercesDefs.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
//
// This class aids in debugging memory management problems with the
// reference counted DOM classes - DOMStrings, Nodes (including subclasses),
@@ -99,5 +102,7 @@
void operator = (const DomMemDebug &other);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/ElementDefinitionImpl.cpp
Index: ElementDefinitionImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ElementDefinitionImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ElementDefinitionImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ ElementDefinitionImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,9 @@
#include "NamedNodeMapImpl.hpp"
#include "NodeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
ElementDefinitionImpl::ElementDefinitionImpl(DocumentImpl *ownerDoc,
const DOMString &nam)
@@ -110,5 +113,7 @@
return attributes;
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +20 -15 xml-xerces/c/src/xercesc/dom/deprecated/ElementDefinitionImpl.hpp
Index: ElementDefinitionImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ElementDefinitionImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ElementDefinitionImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ ElementDefinitionImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -73,20 +73,25 @@
#include "NodeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT ElementDefinitionImpl: public NodeImpl {
private:
DOMString name;
NamedNodeMapImpl *attributes;
-
+
public:
ElementDefinitionImpl(DocumentImpl *ownerDocument, const DOMString &name);
ElementDefinitionImpl(const ElementDefinitionImpl& other, bool deep=false);
-
+
virtual ~ElementDefinitionImpl();
virtual NodeImpl *cloneNode(bool deep);
virtual DOMString getNodeName();
virtual short getNodeType();
virtual NamedNodeMapImpl *getAttributes();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/ElementImpl.cpp
Index: ElementImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ElementImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ElementImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ ElementImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -68,6 +68,8 @@
#include "NamedNodeMapImpl.hpp"
#include "NodeVector.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
static DOMString *gEmptyString = 0;
static XMLRegisterCleanup emptyStringCleanup;
@@ -532,3 +534,6 @@
gEmptyString = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/ElementImpl.hpp
Index: ElementImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ElementImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ElementImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ ElementImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -76,6 +76,9 @@
#include "AttrMapImpl.hpp"
#include "ParentNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DeepNodeListImpl;
class CDOM_EXPORT ElementImpl: public ParentNode {
@@ -148,5 +151,7 @@
// -----------------------------------------------------------------------
static void reinitElementImpl();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/ElementNSImpl.cpp
Index: ElementNSImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ElementNSImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ElementNSImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ ElementNSImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "DocumentImpl.hpp"
#include "DOM_DOMException.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
ElementNSImpl::ElementNSImpl(DocumentImpl *ownerDoc, const DOMString &nam) :
ElementImpl(ownerDoc, nam)
{
@@ -160,3 +163,6 @@
name = prefix + chColon + localName; //nodeName is changed too
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +20 -16 xml-xerces/c/src/xercesc/dom/deprecated/ElementNSImpl.hpp
Index: ElementNSImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ElementNSImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ElementNSImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ ElementNSImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -73,20 +73,22 @@
#include "ElementImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT ElementNSImpl: public ElementImpl {
protected:
//Introduced in DOM Level 2
DOMString namespaceURI; //namespace URI of this node
DOMString localName; //local part of qualified name
-
-
+
+
public:
ElementNSImpl(DocumentImpl *ownerDoc, const DOMString &name);
ElementNSImpl(DocumentImpl *ownerDoc, //DOM Level 2
const DOMString &namespaceURI, const DOMString &qualifiedName);
ElementNSImpl(const ElementNSImpl &other, bool deep=false);
-
+
virtual NodeImpl * cloneNode(bool deep);
//Introduced in DOM Level 2
virtual DOMString getNamespaceURI();
@@ -94,5 +96,7 @@
virtual DOMString getLocalName();
virtual void setPrefix(const DOMString &prefix);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/EntityImpl.cpp
Index: EntityImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/EntityImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EntityImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ EntityImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -62,6 +62,8 @@
#include "DOM_Node.hpp"
#include "EntityImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
EntityImpl::EntityImpl(DocumentImpl *ownerDoc, const DOMString &eName)
: ParentNode(ownerDoc),
@@ -204,3 +206,6 @@
node = node->nextSibling;
return node;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/EntityImpl.hpp
Index: EntityImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/EntityImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EntityImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ EntityImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -74,6 +74,8 @@
#include "ParentNode.hpp"
#include "EntityReferenceImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT EntityImpl: public ParentNode {
private:
@@ -112,6 +114,8 @@
virtual void setEntityRef(EntityReferenceImpl*);
virtual EntityReferenceImpl* getEntityRef() const;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/EntityReferenceImpl.cpp
Index: EntityReferenceImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/EntityReferenceImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EntityReferenceImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ EntityReferenceImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -119,6 +119,8 @@
#include "DOM_Node.hpp"
#include "NamedNodeMapImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
EntityReferenceImpl::EntityReferenceImpl(DocumentImpl *ownerDoc,
const DOMString &entityName)
@@ -201,3 +203,6 @@
throw DOM_DOMException(DOM_DOMException::NO_MODIFICATION_ALLOWED_ERR,null);
ParentNode::setReadOnly(readOnl,deep);
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/EntityReferenceImpl.hpp
Index: EntityReferenceImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/EntityReferenceImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EntityReferenceImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ EntityReferenceImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -73,6 +73,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "ParentNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT EntityReferenceImpl: public ParentNode
{
private:
@@ -88,6 +91,8 @@
virtual bool isEntityReference();
virtual void setReadOnly(bool readOnly,bool deep);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/MemDebug.hpp
Index: MemDebug.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/MemDebug.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MemDebug.hpp 21 May 2002 20:15:01 -0000 1.2
+++ MemDebug.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,6 +61,10 @@
* $Id$
*/
+#include <xercesc/util/XercesDefs.hpp>
+
+XERCES_CPP_NAMESPACE_BEGIN
+
class DomMemDebug
{
@@ -84,5 +88,7 @@
bool operator != (const DOMMemDebug &other);
bool operator = (const DOMMemDebug &other);
};
+
+XERCES_CPP_NAMESPACE_END
#endif // MemDebug_HEADER_GUARD_
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/NameNodeFilter.hpp
Index: NameNodeFilter.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NameNodeFilter.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NameNodeFilter.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NameNodeFilter.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -76,6 +76,8 @@
#include "DOMString.hpp"
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT NameNodeFilter : public NodeFilterImpl
{
@@ -104,5 +106,7 @@
bool fMatch;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/NamedNodeMapImpl.cpp
Index: NamedNodeMapImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NamedNodeMapImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NamedNodeMapImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ NamedNodeMapImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,8 @@
#include "DOM_DOMException.hpp"
#include "DocumentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
int NamedNodeMapImpl::gLiveNamedNodeMaps = 0;
int NamedNodeMapImpl::gTotalNamedNodeMaps = 0;
@@ -455,3 +457,6 @@
}
}
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +22 -17 xml-xerces/c/src/xercesc/dom/deprecated/NamedNodeMapImpl.hpp
Index: NamedNodeMapImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NamedNodeMapImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NamedNodeMapImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NamedNodeMapImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -73,6 +73,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "NodeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NodeVector;
class DocumentImpl;
class NodeImpl;
@@ -85,18 +88,18 @@
int refCount;
static int gLiveNamedNodeMaps;
static int gTotalNamedNodeMaps;
-
-
+
+
friend class DOM_NamedNodeMap;
friend class DomMemDebug;
friend class ElementImpl;
friend class DocumentImpl;
virtual void cloneContent(NamedNodeMapImpl *srcmap);
-
+
public:
NamedNodeMapImpl(NodeImpl *ownerNode);
-
+
virtual ~NamedNodeMapImpl();
virtual NamedNodeMapImpl *cloneMap(NodeImpl *ownerNode);
static void addRef(NamedNodeMapImpl *);
@@ -121,6 +124,8 @@
virtual void setOwnerDocument(DocumentImpl *doc);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.2 +5 -0 xml-xerces/c/src/xercesc/dom/deprecated/NodeIDMap.cpp
Index: NodeIDMap.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeIDMap.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NodeIDMap.cpp 21 May 2002 19:57:17 -0000 1.1
+++ NodeIDMap.cpp 4 Nov 2002 15:04:44 -0000 1.2
@@ -61,6 +61,9 @@
#include <xercesc/util/RuntimeException.hpp>
#include <stdio.h>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static const int gPrimes[] = {997, 9973, 99991, 999983, 0 }; // To do - add a few more.
static const float gMaxFill = 0.8f; // The maximum fraction of the total
@@ -268,5 +271,7 @@
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +20 -13 xml-xerces/c/src/xercesc/dom/deprecated/NodeIDMap.hpp
Index: NodeIDMap.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeIDMap.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeIDMap.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeIDMap.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -3,38 +3,38 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -48,7 +48,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
@@ -78,6 +78,11 @@
// smaller when tuned for this exact usage, and the generic RefHashTableOf
// from the xerces utils project is not a paricularly good fit.
//
+#include <xercesc/util/XercesDefs.hpp>
+
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class AttrImpl;
class DOMString;
@@ -107,7 +112,7 @@
private:
AttrImpl **fTable;
unsigned int fSizeIndex; // Index of the current table size in the
- // array of possible table sizes.
+ // array of possible table sizes.
unsigned int fSize; // The current size of the table array
// (number of slots, not bytes.)
unsigned int fNumEntries; // The number of entries used.
@@ -116,5 +121,7 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeImpl.cpp
Index: NodeImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -74,6 +74,9 @@
#include "stdio.h"
#include "TextImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *s_xml = null;
static DOMString *s_xmlURI = null;
static DOMString *s_xmlns = null;
@@ -531,3 +534,6 @@
s_xmlnsURI = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeImpl.hpp
Index: NodeImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -92,6 +92,8 @@
#include "NodeListImpl.hpp"
#include "DOMString.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class NamedNodeMapImpl;
class NodeListImpl;
@@ -303,5 +305,7 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeIteratorImpl.cpp
Index: NodeIteratorImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeIteratorImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeIteratorImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeIteratorImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -67,6 +67,9 @@
#include "DOM_DOMException.hpp"
#include "DocumentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
@@ -426,3 +429,6 @@
NodeIteratorImpl* ptr = this;
delete ptr;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeIteratorImpl.hpp
Index: NodeIteratorImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeIteratorImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeIteratorImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeIteratorImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -75,6 +75,8 @@
#include "DOM_NodeIterator.hpp"
#include "RefCountedImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT NodeIteratorImpl : public RefCountedImpl {
protected:
@@ -153,5 +155,7 @@
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeListImpl.cpp
Index: NodeListImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeListImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeListImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeListImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -61,7 +61,12 @@
#include "NodeListImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
NodeListImpl::NodeListImpl() {};
NodeListImpl::~NodeListImpl() {};
+
+XERCES_CPP_NAMESPACE_END
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeListImpl.hpp
Index: NodeListImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeListImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeListImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeListImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -72,6 +72,8 @@
#include <xercesc/util/XercesDefs.hpp>
#include "RefCountedImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class NodeImpl;
@@ -84,6 +86,8 @@
virtual NodeImpl * item(unsigned int index) = 0;
virtual unsigned int getLength() = 0;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeVector.cpp
Index: NodeVector.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeVector.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeVector.cpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeVector.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -70,6 +70,9 @@
#include "NodeVector.hpp"
#include <assert.h>
+XERCES_CPP_NAMESPACE_BEGIN
+
+
NodeVector::NodeVector()
{
init(10);
@@ -168,4 +171,6 @@
return nextFreeSlot;
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/NodeVector.hpp
Index: NodeVector.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NodeVector.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeVector.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NodeVector.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -71,6 +71,10 @@
#include <xercesc/util/XercesDefs.hpp>
+
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class NodeImpl;
@@ -96,5 +100,7 @@
void removeElementAt(unsigned int index);
void reset();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/NotationImpl.cpp
Index: NotationImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NotationImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NotationImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ NotationImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,9 @@
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
/**
* Notations are how the Document Type Description (DTD) records hints
* about the format of an XML "unparsed entity" -- in other words,
@@ -157,4 +160,6 @@
systemId = arg.clone();
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +6 -1 xml-xerces/c/src/xercesc/dom/deprecated/NotationImpl.hpp
Index: NotationImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/NotationImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NotationImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ NotationImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -72,6 +72,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "NodeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DocumentImpl;
class CDOM_EXPORT NotationImpl: public NodeImpl {
@@ -111,5 +114,7 @@
virtual void setSystemId(const DOMString &arg);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/ParentNode.cpp
Index: ParentNode.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ParentNode.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ParentNode.cpp 21 May 2002 20:15:01 -0000 1.2
+++ ParentNode.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -68,6 +68,8 @@
#include "DocumentImpl.hpp"
#include "RangeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
ParentNode::ParentNode(DocumentImpl *ownerDoc)
: ChildNode(ownerDoc)
@@ -508,4 +510,6 @@
// changed() will have occurred when the removeChild() was done,
// so does not have to be reissued.
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/ParentNode.hpp
Index: ParentNode.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ParentNode.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ParentNode.hpp 21 May 2002 20:15:01 -0000 1.2
+++ ParentNode.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -101,6 +101,8 @@
#include <xercesc/util/XercesDefs.hpp>
#include "ChildNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT ParentNode: public ChildNode {
public:
DocumentImpl *ownerDocument; // Document this node belongs to
@@ -145,5 +147,7 @@
/** Last requested child index. */
int fCachedChildIndex;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +24 -18 xml-xerces/c/src/xercesc/dom/deprecated/ProcessingInstructionImpl.cpp
Index: ProcessingInstructionImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ProcessingInstructionImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ProcessingInstructionImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ ProcessingInstructionImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -64,6 +64,9 @@
#include "DOM_DOMException.hpp"
#include "DOM_Node.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
ProcessingInstructionImpl::ProcessingInstructionImpl(DocumentImpl *ownerDoc,
const DOMString &targt,
const DOMString &dat)
@@ -132,9 +135,9 @@
In XML, a PI's "target" is the first (whitespace-delimited) token
following the "<?" token that begins the PI.
-
+
In HTML, target is always null.
-
+
Note that getNodeName is aliased to getTarget.
*/
DOMString ProcessingInstructionImpl::getTarget()
@@ -143,9 +146,9 @@
};
-/**
-* Change the data content of this PI.
-* Note that setNodeValue is aliased to setData
+/**
+* Change the data content of this PI.
+* Note that setNodeValue is aliased to setData
* @see getData().
* @throws DOMException(NO_MODIFICATION_ALLOWED_ERR) if node is read-only.
*/
@@ -156,3 +159,6 @@
null);
data = arg.clone();
};
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +19 -13 xml-xerces/c/src/xercesc/dom/deprecated/ProcessingInstructionImpl.hpp
Index: ProcessingInstructionImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/ProcessingInstructionImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ProcessingInstructionImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ ProcessingInstructionImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -2,38 +2,38 @@
#define ProcessingInstructionImpl_HEADER_GUARD_
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -47,7 +47,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
@@ -72,6 +72,10 @@
#include <xercesc/util/XercesDefs.hpp>
#include "ChildNode.hpp"
+
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DocumentImpl;
@@ -96,6 +100,8 @@
virtual DOMString getTarget();
virtual void setData(const DOMString &arg);
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/RangeImpl.cpp
Index: RangeImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/RangeImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RangeImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ RangeImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -71,6 +71,8 @@
#include "DOM_DOMException.hpp"
#include "DOM_Text.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
//---------------------
// C'tor and D'tor
@@ -1691,5 +1693,7 @@
}
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/RangeImpl.hpp
Index: RangeImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/RangeImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RangeImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ RangeImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -77,6 +77,8 @@
#include "DOM_Document.hpp"
#include <xercesc/util/RefVectorOf.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
typedef RefVectorOf<RangeImpl> Ranges;
@@ -200,5 +202,7 @@
DOM_Node fRemoveChild;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/RefCountedImpl.cpp
Index: RefCountedImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/RefCountedImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RefCountedImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ RefCountedImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -60,6 +60,8 @@
#include "RefCountedImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
RefCountedImpl::RefCountedImpl()
{
@@ -110,6 +112,8 @@
{
};
+
+XERCES_CPP_NAMESPACE_END
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/RefCountedImpl.hpp
Index: RefCountedImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/RefCountedImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RefCountedImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ RefCountedImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -73,6 +73,8 @@
#include <xercesc/util/XercesDefs.hpp>
+XERCES_CPP_NAMESPACE_BEGIN
+
class CDOM_EXPORT RefCountedImpl
{
@@ -98,5 +100,7 @@
// unreferenced state may switch many times
// over its life time.)
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/TextImpl.cpp
Index: TextImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/TextImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TextImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ TextImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -66,6 +66,9 @@
#include "DStringPool.hpp"
#include "RangeImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *gText = 0; // will be lazily initialized to point to "#text"
static XMLRegisterCleanup gTextCleanup;
@@ -167,3 +170,6 @@
gText = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +19 -14 xml-xerces/c/src/xercesc/dom/deprecated/TextImpl.hpp
Index: TextImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/TextImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TextImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ TextImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-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
@@ -75,6 +75,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "CharacterDataImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class CDOM_EXPORT TextImpl: public CharacterDataImpl {
public:
TextImpl(DocumentImpl *ownerDoc, const DOMString &data);
@@ -90,12 +93,14 @@
// -----------------------------------------------------------------------
// Notification that lazy data has been deleted
// -----------------------------------------------------------------------
- static void reinitTextImpl();
+ static void reinitTextImpl();
protected:
virtual void setIgnorableWhitespace(bool ignorable);
friend class DOMParser;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +5 -1 xml-xerces/c/src/xercesc/dom/deprecated/TreeWalkerImpl.cpp
Index: TreeWalkerImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/TreeWalkerImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TreeWalkerImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ TreeWalkerImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -63,6 +63,8 @@
#include "DOM_DOMException.hpp"
#include "DocumentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
/** constructor */
TreeWalkerImpl::TreeWalkerImpl (
@@ -548,4 +550,6 @@
}
}
}
+
+XERCES_CPP_NAMESPACE_END
1.3 +4 -1 xml-xerces/c/src/xercesc/dom/deprecated/TreeWalkerImpl.hpp
Index: TreeWalkerImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/TreeWalkerImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TreeWalkerImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ TreeWalkerImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -74,6 +74,7 @@
#include "DOM_TreeWalker.hpp"
#include "RefCountedImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
class CDOM_EXPORT TreeWalkerImpl : public RefCountedImpl {
@@ -200,5 +201,7 @@
// The expandEntity reference flag.
bool fExpandEntityReferences;
};
+
+XERCES_CPP_NAMESPACE_END
#endif
1.3 +7 -1 xml-xerces/c/src/xercesc/dom/deprecated/XMLDeclImpl.cpp
Index: XMLDeclImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/XMLDeclImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLDeclImpl.cpp 21 May 2002 20:15:01 -0000 1.2
+++ XMLDeclImpl.cpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -64,6 +64,9 @@
#include "DStringPool.hpp"
#include "DocumentImpl.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
static DOMString *gNam = 0; // will be lazily initialized to "#xmldecl"
static XMLRegisterCleanup gNamCleanup;
@@ -159,3 +162,6 @@
gNam = 0;
}
+
+XERCES_CPP_NAMESPACE_END
+
1.3 +9 -4 xml-xerces/c/src/xercesc/dom/deprecated/XMLDeclImpl.hpp
Index: XMLDeclImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/deprecated/XMLDeclImpl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLDeclImpl.hpp 21 May 2002 20:15:01 -0000 1.2
+++ XMLDeclImpl.hpp 4 Nov 2002 15:04:44 -0000 1.3
@@ -73,6 +73,9 @@
#include <xercesc/util/XercesDefs.hpp>
#include "ChildNode.hpp"
+XERCES_CPP_NAMESPACE_BEGIN
+
+
class DOMString;
class CDOM_EXPORT XMLDeclImpl: public ChildNode {
@@ -87,7 +90,7 @@
public:
XMLDeclImpl(DocumentImpl *ownerDoc);
- XMLDeclImpl(DocumentImpl *ownerDoc, const DOMString& version,
+ XMLDeclImpl(DocumentImpl *ownerDoc, const DOMString& version,
const DOMString& encoding, const DOMString& standalone);
XMLDeclImpl(const XMLDeclImpl &other, bool deep=false);
virtual ~XMLDeclImpl();
@@ -96,7 +99,7 @@
virtual DOMString getNodeName();
virtual short getNodeType();
-
+
virtual DOMString getVersion() const;
virtual DOMString getEncoding() const;
virtual DOMString getStandalone() const;
@@ -108,8 +111,10 @@
// -----------------------------------------------------------------------
// Notification that lazy data has been deleted
// -----------------------------------------------------------------------
- static void reinitXMLDeclImpl();
+ static void reinitXMLDeclImpl();
};
+
+XERCES_CPP_NAMESPACE_END
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org