Author: scantor Date: Wed Aug 23 16:09:19 2017 New Revision: 1805935 URL: http://svn.apache.org/viewvc?rev=1805935&view=rev Log: XERCESC-2117 - Wrong unicode character in PosixFileMgr::isRelative
Modified: xerces/c/trunk/src/xercesc/util/FileManagers/PosixFileMgr.cpp Modified: xerces/c/trunk/src/xercesc/util/FileManagers/PosixFileMgr.cpp URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/FileManagers/PosixFileMgr.cpp?rev=1805935&r1=1805934&r2=1805935&view=diff ============================================================================== --- xerces/c/trunk/src/xercesc/util/FileManagers/PosixFileMgr.cpp (original) +++ xerces/c/trunk/src/xercesc/util/FileManagers/PosixFileMgr.cpp Wed Aug 23 16:09:19 2017 @@ -37,6 +37,7 @@ #include <xercesc/util/RuntimeException.hpp> #include <xercesc/util/PanicHandler.hpp> #include <xercesc/util/XMLString.hpp> +#include <xercesc/util/XMLUniDefs.hpp> XERCES_CPP_NAMESPACE_BEGIN @@ -247,7 +248,7 @@ PosixFileMgr::isRelative(const XMLCh* co // // If it starts with a slash, then it cannot be relative. // - return toCheck[0] != XMLCh('/'); + return toCheck[0] != chForwardSlash; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org