Hello, 

        We are trying to generate a wellformed  XML String (from Dom_Node)
within 
a COM wrapper, and are using the Apache xerces-c-1_5_1 library with our
code.  

        Running standalone (on Solaris), the (XML) code works perfectly.
However, when built into
a COM wrapper library, the same code dies when trying to use the
XMLString::transcode() method.  
We traced this in the debugger (dbx) and found that the static variable
(gTranscoder) does 
not get set properly when the parser is initialized (during
PlatformUtils::Initialize() ) from within the
COM environment.  

        We did not build with ICU - (we used  "-tnative" option when
generating the make files).  
Do I need to do this to get it to work in COM? 

        Has anyone else ever tried this?  I believe the difference in
behavior is because 
the code is running from a "COM wrapper", but I don't know how to solve the
problem to 
get it to work.  

        Any help or suggestions will be appreciated, as I'm under a very
aggressive deadline to
get this done.  

        THANKS!!!!!
        -Nancy Horn


----------------------------------------------------------------------------
---------------------------------------------------
Nancy E. Horn
Director, Software Development
Internet Commerce Services, ICOMS
One Indian Head Plaza
Nashua, NH  03060
603-324-2371




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

Reply via email to