Skip to content
Snippets Groups Projects
Commit 824d12a8 authored by David Abram Cargill's avatar David Abram Cargill
Browse files

390 update: use ICU table which is present with the uniconv390.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176411 13f79535-47bb-0310-9956-ffa450edef68
parent c5c20803
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
/* /*
* $Log$ * $Log$
* Revision 1.5 2005/05/19 15:46:32 cargilld
* 390 update: use ICU table which is present with the uniconv390.
*
* Revision 1.4 2004/09/08 13:56:47 peiyongz * Revision 1.4 2004/09/08 13:56:47 peiyongz
* Apache License Version 2.0 * Apache License Version 2.0
* *
...@@ -42,7 +45,7 @@ ...@@ -42,7 +45,7 @@
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
#include <xercesc/util/regx/XMLUniCharacter.hpp> #include <xercesc/util/regx/XMLUniCharacter.hpp>
#if defined (XML_USE_ICU_TRANSCODER) #if defined (XML_USE_ICU_TRANSCODER) || defined (XML_USE_UNICONV390_TRANSCODER)
#include <unicode/uchar.h> #include <unicode/uchar.h>
#else #else
#include <xercesc/util/regx/UniCharTable.hpp> #include <xercesc/util/regx/UniCharTable.hpp>
...@@ -55,7 +58,7 @@ XERCES_CPP_NAMESPACE_BEGIN ...@@ -55,7 +58,7 @@ XERCES_CPP_NAMESPACE_BEGIN
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
unsigned short XMLUniCharacter::getType(const XMLCh ch) { unsigned short XMLUniCharacter::getType(const XMLCh ch) {
#if defined (XML_USE_ICU_TRANSCODER) #if defined (XML_USE_ICU_TRANSCODER) || defined (XML_USE_UNICONV390_TRANSCODER)
return (unsigned short) u_charType(ch); return (unsigned short) u_charType(ch);
#else #else
return (unsigned short) fgUniCharsTable[ch]; return (unsigned short) fgUniCharsTable[ch];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment