diff --git a/src/xercesc/dom/deprecated/DOMParser.cpp b/src/xercesc/dom/deprecated/DOMParser.cpp
index 00395c4708c71d9585bc7d896fa7875144c60659..a8476d8348ccfce6669bfb4fe6c51c5eec4a6dae 100644
--- a/src/xercesc/dom/deprecated/DOMParser.cpp
+++ b/src/xercesc/dom/deprecated/DOMParser.cpp
@@ -263,7 +263,7 @@ Grammar* DOMParser::getRootGrammar()
     return fScanner->getRootGrammar();
 }
 
-const XMLCh* DOMParser::getURIText(unsigned int uriId)
+const XMLCh* DOMParser::getURIText(unsigned int uriId) const
 {
     return fScanner->getURIText(uriId);
 }
diff --git a/src/xercesc/dom/deprecated/DOMParser.hpp b/src/xercesc/dom/deprecated/DOMParser.hpp
index ff5738cca3c50d7fae1fbdea55d6c2d570d9d2a4..a1e49db79a0599dbbc37531dc7760c92760f3292 100644
--- a/src/xercesc/dom/deprecated/DOMParser.hpp
+++ b/src/xercesc/dom/deprecated/DOMParser.hpp
@@ -446,7 +446,7 @@ public :
       * @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);
+    const XMLCh* getURIText(unsigned int uriId) const;
 
     /**
       * Returns the current src offset within the input source.
diff --git a/src/xercesc/parsers/SAX2XMLReaderImpl.hpp b/src/xercesc/parsers/SAX2XMLReaderImpl.hpp
index d8f52656d4c25ec8809cbd41387803fbf5147f58..3f0a646381d56056cc2460a035f4f9a84ebef493 100644
--- a/src/xercesc/parsers/SAX2XMLReaderImpl.hpp
+++ b/src/xercesc/parsers/SAX2XMLReaderImpl.hpp
@@ -56,6 +56,9 @@
 
 /*
  * $Log$
+ * Revision 1.17  2003/01/09 19:07:08  tng
+ * [Bug 15802] Add "const" qualifier to getURIText.
+ *
  * Revision 1.16  2002/12/23 15:23:18  knoaman
  * Added a public api to various parsers to return the src offset within the input
  * source.
@@ -651,7 +654,7 @@ public :
       * @param uriId id of the string in the URI string pool.
       * @return URI string corresponding to the URI id.
       */
-    virtual const XMLCh* getURIText(unsigned int uriId);
+    virtual const XMLCh* getURIText(unsigned int uriId) const;
 
     /**
       * Returns the current src offset within the input source.
@@ -1827,7 +1830,7 @@ inline Grammar* SAX2XMLReaderImpl::getRootGrammar()
     return fScanner->getRootGrammar();
 }
 
-inline const XMLCh* SAX2XMLReaderImpl::getURIText(unsigned int uriId)
+inline const XMLCh* SAX2XMLReaderImpl::getURIText(unsigned int uriId) const
 {
     return fScanner->getURIText(uriId);
 }
diff --git a/src/xercesc/parsers/SAXParser.cpp b/src/xercesc/parsers/SAXParser.cpp
index 77778cdcb18f02ca4a1480b5c11301c8c7d43eac..9338357d90bdef712c3374306d455e864bdf032a 100644
--- a/src/xercesc/parsers/SAXParser.cpp
+++ b/src/xercesc/parsers/SAXParser.cpp
@@ -56,6 +56,9 @@
 
 /*
  * $Log$
+ * Revision 1.14  2003/01/09 19:07:08  tng
+ * [Bug 15802] Add "const" qualifier to getURIText.
+ *
  * Revision 1.13  2003/01/03 20:09:36  tng
  * New feature StandardUriConformant to force strict standard uri conformance.
  *
@@ -465,7 +468,7 @@ Grammar* SAXParser::getRootGrammar()
     return fScanner->getRootGrammar();
 }
 
-const XMLCh* SAXParser::getURIText(unsigned int uriId)
+const XMLCh* SAXParser::getURIText(unsigned int uriId) const
 {
     return fScanner->getURIText(uriId);
 }
diff --git a/src/xercesc/parsers/SAXParser.hpp b/src/xercesc/parsers/SAXParser.hpp
index 817af0001466f3d4593dfe66fb6eee09065a435d..ac20a407652defd136ec74b39b318f0278fd78a6 100644
--- a/src/xercesc/parsers/SAXParser.hpp
+++ b/src/xercesc/parsers/SAXParser.hpp
@@ -56,6 +56,9 @@
 
 /*
  * $Log$
+ * Revision 1.19  2003/01/09 19:07:08  tng
+ * [Bug 15802] Add "const" qualifier to getURIText.
+ *
  * Revision 1.18  2003/01/03 20:09:36  tng
  * New feature StandardUriConformant to force strict standard uri conformance.
  *
@@ -537,7 +540,7 @@ public :
      * @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);
+    const XMLCh* getURIText(unsigned int uriId) const;
 
     /**
      * Returns the current src offset within the input source.
diff --git a/src/xercesc/parsers/XercesDOMParser.cpp b/src/xercesc/parsers/XercesDOMParser.cpp
index 0970574607ac5d56798c006ab53def934d61df5d..f69902d9cc89430ea06f769fd425267ed49b060e 100644
--- a/src/xercesc/parsers/XercesDOMParser.cpp
+++ b/src/xercesc/parsers/XercesDOMParser.cpp
@@ -120,7 +120,7 @@ Grammar* XercesDOMParser::getRootGrammar()
     return getScanner()->getRootGrammar();
 }
 
-const XMLCh* XercesDOMParser::getURIText(unsigned int uriId)
+const XMLCh* XercesDOMParser::getURIText(unsigned int uriId) const
 {
     return getScanner()->getURIText(uriId);
 }
diff --git a/src/xercesc/parsers/XercesDOMParser.hpp b/src/xercesc/parsers/XercesDOMParser.hpp
index 4b06cce232abc64eaed4b3804b2d6e12b8fefb95..a8feab5268c081c8e0f4d921ca8acec0d6e4b2c8 100644
--- a/src/xercesc/parsers/XercesDOMParser.hpp
+++ b/src/xercesc/parsers/XercesDOMParser.hpp
@@ -199,7 +199,7 @@ public :
      * @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);
+    const XMLCh* getURIText(unsigned int uriId) const;
 
     /**
      * Returns the current src offset within the input source.
diff --git a/src/xercesc/sax2/SAX2XMLReader.hpp b/src/xercesc/sax2/SAX2XMLReader.hpp
index a60232739c12fe37e04e25363412b5f29390371a..1cea8cf3ab60f28c46d214d085d7ece28a5b688f 100644
--- a/src/xercesc/sax2/SAX2XMLReader.hpp
+++ b/src/xercesc/sax2/SAX2XMLReader.hpp
@@ -56,6 +56,9 @@
 
 /*
  * $Log$
+ * Revision 1.9  2003/01/09 19:07:27  tng
+ * [Bug 15802] Add "const" qualifier to getURIText.
+ *
  * Revision 1.8  2002/12/23 15:23:18  knoaman
  * Added a public api to various parsers to return the src offset within the input
  * source.
@@ -619,7 +622,7 @@ public:
       * @param uriId id of the string in the URI string pool.
       * @return URI string corresponding to the URI id.
       */
-    virtual const XMLCh* getURIText(unsigned int uriId) = 0;
+    virtual const XMLCh* getURIText(unsigned int uriId) const = 0;
 
     /**
       * Returns the current src offset within the input source.