Hi Eric,

Presumably there's an error coming up during the call
MacOSUnicodeConverter::makeNewLCPTranscoder().  I'd step through this in the
debugger to see what occurs.

I suspect that the problem is that there's no unicode converter installed on
your 8.6 system (my recollection is that the unicode converter ought to be
there, but maybe it's just an optional install). If that is the case, you'll
see that you crash apparently in calling one of the unicode converter calls.
If you check the function pointer [something like: if
(CreateTextToUnicodeInfoByEncoding != 0)] in such a case you'll quickly see
what is wrong.

Please let me know what you find. If nothing else, the routine
XMLPlatformUtils::makeTransService in MacOSPlatformUtils.cpp should probably
be changed to check for the existence of the unicode converter, and return
NULL otherwise.

-jdb



On 5/16/01 1:22 PM, "Eric Deines" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I'm trying to build/use Xerces on Mac OS 8.6, but I've ran into a couple of
> problems:
> 
> First of all, I see there are two different types of builds, Classic and
> Carbon.  What is the difference between each? (Yes, I am a Windows
> programmer new to Mac, no laughing....)
> 
> Second, I did manage to get the Classic target to build with no problem
> (I'm hoping this is the correct one I need).  I've created a program that
> uses Xerces to parse my XML file, but when I try to run it I get an
> "Illegal instruction exception".  I've been able to trace it to the
> following line in XMLPlatformUtils::Initialize() :
> 
> XMLLCPTranscoder* defXCode =
> XMLPlatformUtils::fgTransService->makeNewLCPTranscoder();
> 
> Has anyone ever had this problem or have any suggestions on what is going
> wrong?  Any help would be greatly appreciated.
> 
> Thanks in advance,
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
/**********************************
 James D. Berry
 mailto:[EMAIL PROTECTED]
 vox:503.265.1213 fax:503.222.3020
 **********************************/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to