You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sc...@apache.org on 2015/02/28 01:54:47 UTC
svn commit: r1662869 -
/xerces/c/branches/xerces-3.1/src/xercesc/util/XMLURL.cpp
Author: scantor
Date: Sat Feb 28 00:54:47 2015
New Revision: 1662869
URL: http://svn.apache.org/r1662869
Log:
XERCESC-1966
Modified:
xerces/c/branches/xerces-3.1/src/xercesc/util/XMLURL.cpp
Modified: xerces/c/branches/xerces-3.1/src/xercesc/util/XMLURL.cpp
URL: http://svn.apache.org/viewvc/xerces/c/branches/xerces-3.1/src/xercesc/util/XMLURL.cpp?rev=1662869&r1=1662868&r2=1662869&view=diff
==============================================================================
--- xerces/c/branches/xerces-3.1/src/xercesc/util/XMLURL.cpp (original)
+++ xerces/c/branches/xerces-3.1/src/xercesc/util/XMLURL.cpp Sat Feb 28 00:54:47 2015
@@ -117,8 +117,8 @@ static const XMLCh gListSix[] = { chP
static bool isHexDigit(const XMLCh toCheck)
{
if (((toCheck >= chDigit_0) && (toCheck <= chDigit_9))
- || ((toCheck >= chLatin_A) && (toCheck <= chLatin_Z))
- || ((toCheck >= chLatin_a) && (toCheck <= chLatin_z)))
+ || ((toCheck >= chLatin_A) && (toCheck <= chLatin_F))
+ || ((toCheck >= chLatin_a) && (toCheck <= chLatin_f)))
{
return true;
}
@@ -130,7 +130,7 @@ static unsigned int xlatHexDigit(const X
if ((toXlat >= chDigit_0) && (toXlat <= chDigit_9))
return (unsigned int)(toXlat - chDigit_0);
- if ((toXlat >= chLatin_A) && (toXlat <= chLatin_Z))
+ if ((toXlat >= chLatin_A) && (toXlat <= chLatin_F))
return (unsigned int)(toXlat - chLatin_A) + 10;
return (unsigned int)(toXlat - chLatin_a) + 10;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org