tng 2003/01/09 11:07:08 Modified: c/src/xercesc/parsers SAX2XMLReaderImpl.hpp SAXParser.cpp SAXParser.hpp XercesDOMParser.cpp XercesDOMParser.hpp Log: [Bug 15802] Add "const" qualifier to getURIText. Revision Changes Path 1.17 +6 -2 xml-xerces/c/src/xercesc/parsers/SAX2XMLReaderImpl.hpp Index: SAX2XMLReaderImpl.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/SAX2XMLReaderImpl.hpp,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- SAX2XMLReaderImpl.hpp 23 Dec 2002 15:23:18 -0000 1.16 +++ SAX2XMLReaderImpl.hpp 9 Jan 2003 19:07:08 -0000 1.17 @@ -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 @@ * @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 @@ return fScanner->getRootGrammar(); } -inline const XMLCh* SAX2XMLReaderImpl::getURIText(unsigned int uriId) +inline const XMLCh* SAX2XMLReaderImpl::getURIText(unsigned int uriId) const { return fScanner->getURIText(uriId); } 1.14 +4 -1 xml-xerces/c/src/xercesc/parsers/SAXParser.cpp Index: SAXParser.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/SAXParser.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- SAXParser.cpp 3 Jan 2003 20:09:36 -0000 1.13 +++ SAXParser.cpp 9 Jan 2003 19:07:08 -0000 1.14 @@ -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 @@ return fScanner->getRootGrammar(); } -const XMLCh* SAXParser::getURIText(unsigned int uriId) +const XMLCh* SAXParser::getURIText(unsigned int uriId) const { return fScanner->getURIText(uriId); } 1.19 +4 -1 xml-xerces/c/src/xercesc/parsers/SAXParser.hpp Index: SAXParser.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/SAXParser.hpp,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- SAXParser.hpp 3 Jan 2003 20:09:36 -0000 1.18 +++ SAXParser.hpp 9 Jan 2003 19:07:08 -0000 1.19 @@ -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 @@ * @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. 1.11 +2 -2 xml-xerces/c/src/xercesc/parsers/XercesDOMParser.cpp Index: XercesDOMParser.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/XercesDOMParser.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- XercesDOMParser.cpp 23 Dec 2002 15:23:18 -0000 1.10 +++ XercesDOMParser.cpp 9 Jan 2003 19:07:08 -0000 1.11 @@ -120,7 +120,7 @@ return getScanner()->getRootGrammar(); } -const XMLCh* XercesDOMParser::getURIText(unsigned int uriId) +const XMLCh* XercesDOMParser::getURIText(unsigned int uriId) const { return getScanner()->getURIText(uriId); } 1.13 +2 -2 xml-xerces/c/src/xercesc/parsers/XercesDOMParser.hpp Index: XercesDOMParser.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/XercesDOMParser.hpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- XercesDOMParser.hpp 23 Dec 2002 15:23:18 -0000 1.12 +++ XercesDOMParser.hpp 9 Jan 2003 19:07:08 -0000 1.13 @@ -199,7 +199,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); + const XMLCh* getURIText(unsigned int uriId) const; /** * Returns the current src offset within the input source.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]