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 2001/06/08 23:23:04 UTC
cvs commit: xml-xerces/c/src/idom IDDocumentImpl.cpp IDDocumentImpl.hpp IDOM.hpp IDOM_Document.hpp Makefile.in
tng 01/06/08 14:23:04
Modified: c/src/idom IDDocumentImpl.cpp IDDocumentImpl.hpp IDOM.hpp
IDOM_Document.hpp Makefile.in
Log:
IDOM: Remove the non-standard extension where XML Decl as a node
Revision Changes Path
1.8 +1 -9 xml-xerces/c/src/idom/IDDocumentImpl.cpp
Index: IDDocumentImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/idom/IDDocumentImpl.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- IDDocumentImpl.cpp 2001/06/08 13:10:32 1.7
+++ IDDocumentImpl.cpp 2001/06/08 21:23:02 1.8
@@ -55,7 +55,7 @@
*/
/*
- * $Id: IDDocumentImpl.cpp,v 1.7 2001/06/08 13:10:32 tng Exp $
+ * $Id: IDDocumentImpl.cpp,v 1.8 2001/06/08 21:23:02 tng Exp $
*/
#include <util/XMLUniDefs.hpp>
@@ -84,7 +84,6 @@
#include "IDNotationImpl.hpp"
#include "IDProcessingInstructionImpl.hpp"
#include "IDTextImpl.hpp"
-#include "IDXMLDeclImpl.hpp"
#include "IDStringPool.hpp"
#include "IDTreeWalkerImpl.hpp"
@@ -674,13 +673,6 @@
}
-
-IDOM_XMLDecl * IDDocumentImpl::createXMLDecl(const XMLCh *version,
- const XMLCh *encoding,
- const XMLCh *standalone)
-{
- return new (this) IDXMLDeclImpl(this, version, encoding, standalone);
-}
IDOM_Range* IDDocumentImpl::createRange()
{
1.10 +1 -4 xml-xerces/c/src/idom/IDDocumentImpl.hpp
Index: IDDocumentImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/idom/IDDocumentImpl.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- IDDocumentImpl.hpp 2001/06/04 20:11:52 1.9
+++ IDDocumentImpl.hpp 2001/06/08 21:23:02 1.10
@@ -58,7 +58,7 @@
*/
/*
- * $Id: IDDocumentImpl.hpp,v 1.9 2001/06/04 20:11:52 tng Exp $
+ * $Id: IDDocumentImpl.hpp,v 1.10 2001/06/08 21:23:02 tng Exp $
*/
//
@@ -208,9 +208,6 @@
IDOM_NodeFilter* filter,
bool entityReferenceExpansion);
- virtual IDOM_XMLDecl *createXMLDecl(const XMLCh * version,
- const XMLCh * encoding,
- const XMLCh * standalone);
virtual void* getUserData() const;
virtual void setUserData(void* value);
virtual IDOM_Range *createRange();
1.4 +3 -1 xml-xerces/c/src/idom/IDOM.hpp
Index: IDOM.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/idom/IDOM.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- IDOM.hpp 2001/06/04 20:11:53 1.3
+++ IDOM.hpp 2001/06/08 21:23:02 1.4
@@ -60,6 +60,9 @@
/*
* $Log: IDOM.hpp,v $
+ * Revision 1.4 2001/06/08 21:23:02 tng
+ * IDOM: Remove the non-standard extension where XML Decl as a node
+ *
* Revision 1.3 2001/06/04 20:11:53 tng
* IDOM: Complete IDNodeIterator, IDTreeWalker, IDNodeFilter.
*
@@ -99,6 +102,5 @@
#include <idom/IDOM_RangeException.hpp>
#include <idom/IDOM_Text.hpp>
#include <idom/IDOM_TreeWalker.hpp>
-#include <idom/IDOM_XMLDecl.hpp>
#endif
1.4 +1 -21 xml-xerces/c/src/idom/IDOM_Document.hpp
Index: IDOM_Document.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/idom/IDOM_Document.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- IDOM_Document.hpp 2001/06/04 14:55:35 1.3
+++ IDOM_Document.hpp 2001/06/08 21:23:03 1.4
@@ -58,7 +58,7 @@
*/
/*
- * $Id: IDOM_Document.hpp,v 1.3 2001/06/04 14:55:35 tng Exp $
+ * $Id: IDOM_Document.hpp,v 1.4 2001/06/08 21:23:03 tng Exp $
*/
#include <util/XercesDefs.hpp>
@@ -83,7 +83,6 @@
class IDOM_Node;
class IDOM_NodeIterator;
class IDOM_TreeWalker;
-class IDOM_XMLDecl;
class IDOM_Range;
@@ -337,25 +336,6 @@
unsigned long whatToShow,
IDOM_NodeFilter *filter,
bool entityReferenceExpansion) = 0;
-
- /**
- * Creates a XMLDecl type Node . Non-Standard (an extension to xerces)
- *
- * XMLDecl Nodes are created to get version, encoding and standalone information in a document tree
- *
- * This node if created gets attached to a document object or an entity node. There can be no child
- * to this type of node.
- *
- * <p><b>"Experimental - subject to change"</b></p>
- *
- * @param version The version data of the document. Currently possible value is 1.0
- * @param encoding The encoding type specified in the document
- * @param standalone The information whether the document is standalone or not
- */
-
- virtual IDOM_XMLDecl *createXMLDecl(const XMLCh * version,
- const XMLCh * encoding,
- const XMLCh * standalone) = 0;
/**
* To create the range consisting of boundary-points and offset of the
1.7 +4 -7 xml-xerces/c/src/idom/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/idom/Makefile.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile.in 2001/06/05 11:50:24 1.6
+++ Makefile.in 2001/06/08 21:23:03 1.7
@@ -54,7 +54,7 @@
# <http://www.apache.org/>.
#
#
-# $Id: Makefile.in,v 1.6 2001/06/05 11:50:24 tng Exp $
+# $Id: Makefile.in,v 1.7 2001/06/08 21:23:03 tng Exp $
#
PLATFORM = @platform@
@@ -104,9 +104,8 @@
IDOM_RangeException.hpp \
IDOM_Text.hpp \
IDOM_TreeWalker.hpp \
- IDOM_XMLDecl.hpp \
IDParentNode.hpp \
- IDStringPool.hpp \
+ IDStringPool.hpp
IDOM_CPP_PRIVHEADERS = \
IDAttrImpl.hpp \
@@ -132,8 +131,7 @@
IDProcessingInstructionImpl.hpp \
IDRangeImpl.hpp \
IDTextImpl.hpp \
- IDTreeWalkerImpl.hpp \
- IDXMLDeclImpl.hpp
+ IDTreeWalkerImpl.hpp
IDOM_C_FILES = \
IDDeepNodeListPool.c
@@ -170,8 +168,7 @@
IDRangeImpl.$(TO) \
IDStringPool.$(TO) \
IDTextImpl.$(TO) \
- IDTreeWalkerImpl.$(TO) \
- IDXMLDeclImpl.$(TO)
+ IDTreeWalkerImpl.$(TO)
all:: includes $(IDOM_CPP_OBJECTS)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org