dbertoni 02/05/10 14:11:46
Modified: c/src/PlatformSupport URISupport.hpp URISupport.cpp
Log:
New overload of NormalizeURIString().
Revision Changes Path
1.9 +11 -1 xml-xalan/c/src/PlatformSupport/URISupport.hpp
Index: URISupport.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/URISupport.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- URISupport.hpp 2 Apr 2002 06:10:06 -0000 1.8
+++ URISupport.hpp 10 May 2002 21:11:46 -0000 1.9
@@ -341,11 +341,21 @@
* Normalizes the string passed in, replacing
* \ with /.
*
- * @param urlString string to qualify
+ * @param urlString string to normalize
* @return a reference to the passed parameter
*/
static XalanDOMString&
NormalizeURIText(XalanDOMString& uriString);
+
+ /**
+ * Normalizes the string passed in, replacing
+ * \ with /.
+ *
+ * @param urlString string to normalize
+ * @return a copy of the normalized URI
+ */
+ static const XalanDOMString
+ NormalizeURIText(const XalanDOMString& uriString);
class InvalidURIException : public XSLException
1.20 +12 -0 xml-xalan/c/src/PlatformSupport/URISupport.cpp
Index: URISupport.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/URISupport.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- URISupport.cpp 6 May 2002 05:18:45 -0000 1.19
+++ URISupport.cpp 10 May 2002 21:11:46 -0000 1.20
@@ -319,6 +319,18 @@
+const XalanDOMString
+URISupport::NormalizeURIText(const XalanDOMString& uriString)
+{
+ XalanDOMString theCopy(uriString);
+
+ NormalizeURIText(theCopy);
+
+ return theCopy;
+}
+
+
+
URISupport::InvalidURIException::InvalidURIException(const XalanDOMString&
theMessage) :
XSLException(theMessage,
TranscodeFromLocalCodePage("InvalidURIException"))
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]