tng 2002/08/16 12:20:49
Modified: c/src/xercesc/dom DOMNode.hpp
Log:
DOM L3: lookupNamespacePrefix, isDefaultNamespace, lookupNamespaceURI should be
defined as const. Fixed by Gareth Reakes.
Revision Changes Path
1.10 +4 -4 xml-xerces/c/src/xercesc/dom/DOMNode.hpp
Index: DOMNode.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMNode.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DOMNode.hpp 15 Jul 2002 19:20:03 -0000 1.9
+++ DOMNode.hpp 16 Aug 2002 19:20:49 -0000 1.10
@@ -911,7 +911,7 @@
* @since DOM Level 3
*/
virtual const XMLCh* lookupNamespacePrefix(const XMLCh* namespaceURI,
- bool useDefault) = 0;
+ bool useDefault) const = 0;
/**
* This method checks if the specified <code>namespaceURI</code> is the
@@ -924,7 +924,7 @@
* is the default namespace, <code>false</code> otherwise.
* @since DOM Level 3
*/
- virtual bool isDefaultNamespace(const XMLCh* namespaceURI) =
0;
+ virtual bool isDefaultNamespace(const XMLCh* namespaceURI)
const = 0;
/**
* Look up the namespace URI associated to the given prefix, starting from
@@ -939,7 +939,7 @@
* none is found.
* @since DOM Level 3
*/
- virtual const XMLCh* lookupNamespaceURI(const XMLCh* prefix) = 0;
+ virtual const XMLCh* lookupNamespaceURI(const XMLCh* prefix) const =
0;
/**
* This method makes available a <code>DOMNode</code>'s specialized interface
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]