From fd7b2b9b33826fa41ca8359188f8bad0f258435d Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Fri, 7 Mar 2008 20:44:54 +0000 Subject: Update charclass.h/cpp to use complete Unicode character database (bzr r4984) --- src/dom/uri.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dom/uri.cpp') diff --git a/src/dom/uri.cpp b/src/dom/uri.cpp index 13b76c413..8b810e611 100644 --- a/src/dom/uri.cpp +++ b/src/dom/uri.cpp @@ -270,7 +270,7 @@ DOMString URI::getNativePath() const if (pathStr.size() >= 3) { if (pathStr[0] == '/' && - isLetter(pathStr[1]) && + uni_is_letter(pathStr[1]) && pathStr[2] == ':') firstChar++; } @@ -766,7 +766,7 @@ int URI::parseHierarchicalPart(int p0) //# Are we absolute? ch = peek(p); - if (isLetter(ch) && peek(p+1)==':') + if (uni_is_letter(ch) && peek(p+1)==':') { absolute = true; path.push_back((XMLCh)'/'); -- cgit v1.2.3