You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ro...@locus.apache.org on 2000/01/12 21:44:51 UTC
cvs commit: xml-xerces/c/src/util URL.cpp XMLUni.cpp XMLUni.hpp
roddey 00/01/12 12:44:50
Modified: c/src/util URL.cpp XMLUni.cpp XMLUni.hpp
Log:
Ooops, I checked in the URL.cpp file with a L"localhost" style string in it. This is not legal for
some of our compilers, so a new string was added XMLUni and used in its place.
Revision Changes Path
1.3 +5 -1 xml-xerces/c/src/util/URL.cpp
Index: URL.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/URL.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- URL.cpp 2000/01/12 00:16:22 1.2
+++ URL.cpp 2000/01/12 20:44:49 1.3
@@ -56,6 +56,10 @@
/**
* $Log: URL.cpp,v $
+ * Revision 1.3 2000/01/12 20:44:49 roddey
+ * Ooops, I checked in the URL.cpp file with a L"localhost" style string in it. This is not legal for
+ * some of our compilers, so a new string was added XMLUni and used in its place.
+ *
* Revision 1.2 2000/01/12 00:16:22 roddey
* Changes to deal with multiply nested, relative pathed, entities and to deal
* with the new URL class changes.
@@ -475,7 +479,7 @@
//
if (fProtocol == URL::File)
{
- if (!fHost || !XMLString::compareIString(fHost, L"localhost"))
+ if (!fHost || !XMLString::compareIString(fHost, XMLUni::fgLocalHostString))
{
//
// We have to play a little trick here. If its really a Windows
1.4 +9 -0 xml-xerces/c/src/util/XMLUni.cpp
Index: XMLUni.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLUni.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XMLUni.cpp 1999/12/18 00:18:10 1.3
+++ XMLUni.cpp 2000/01/12 20:44:49 1.4
@@ -56,6 +56,10 @@
/**
* $Log: XMLUni.cpp,v $
+ * Revision 1.4 2000/01/12 20:44:49 roddey
+ * Ooops, I checked in the URL.cpp file with a L"localhost" style string in it. This is not legal for
+ * some of our compilers, so a new string was added XMLUni and used in its place.
+ *
* Revision 1.3 1999/12/18 00:18:10 roddey
* More changes to support the new, completely orthagonal support for
* intrinsic encodings.
@@ -263,6 +267,11 @@
const XMLCh XMLUni::fgISO88591EncodingString8[] =
{
chLatin_L, chLatin_A, chLatin_T, chLatin_I, chLatin_N, chUnderscore, chDigit_1, chNull
+};
+
+const XMLCh XMLUni::fgLocalHostString[] =
+{
+ chLatin_l, chLatin_o, chLatin_c, chLatin_a, chLatin_l, chLatin_h, chLatin_o, chLatin_s, chLatin_t, chNull
};
const XMLCh XMLUni::fgNoString[] =
1.4 +5 -0 xml-xerces/c/src/util/XMLUni.hpp
Index: XMLUni.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLUni.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XMLUni.hpp 1999/12/18 00:18:10 1.3
+++ XMLUni.hpp 2000/01/12 20:44:50 1.4
@@ -56,6 +56,10 @@
/**
* $Log: XMLUni.hpp,v $
+ * Revision 1.4 2000/01/12 20:44:50 roddey
+ * Ooops, I checked in the URL.cpp file with a L"localhost" style string in it. This is not legal for
+ * some of our compilers, so a new string was added XMLUni and used in its place.
+ *
* Revision 1.3 1999/12/18 00:18:10 roddey
* More changes to support the new, completely orthagonal support for
* intrinsic encodings.
@@ -242,6 +246,7 @@
static const XMLCh fgISO88591EncodingString6[];
static const XMLCh fgISO88591EncodingString7[];
static const XMLCh fgISO88591EncodingString8[];
+ static const XMLCh fgLocalHostString[];
static const XMLCh fgNoString[];
static const XMLCh fgNotationString[];
static const XMLCh fgNDATAString[];