You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Horn, Nancy" <nh...@icoms.com> on 2001/08/23 15:38:14 UTC

Problems with XMLSTring::transcod() method - Running xerces 1_5_1 from within a COM wrapper.

	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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org