Hi Steve,

This is very odd, because that's an error message from Xerces-C, not from
Xalan.  Looking on the link line, I see you're using the ICU, so have you
built a local version of Xerces that uses the ICU for transoding?

I would be very surprised if sample source code from Xalan-C 1.3, compiled
with Xalan-C 1.2, caused this problem.  Can you verify that other samples
from Xalan-C 1.2 built in the same evironment work?

Dave



                                                                                
                                        
                      "Caputo, Steve"                                           
                                        
                      <[EMAIL PROTECTED]         To:      
[email protected]                                    
                      gnos.com>                cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                            
                                               Subject: Xalan Sample App 
(SimpleTransform) - Could not load local code  
                      04/10/2003 08:16         pa ge transcoder                 
                                        
                      AM                                                        
                                        
                                                                                
                                        



Hi,


I'm trying to compile and link the sample SimpleTransform.cpp (attached)
that came with Xalan-C_1_3-hp-ux.tar.gz (from the apache.org downloads
site) on HP-UX 11.


The purpose of SimpleTransform is to take the given foo.xsl and foo.xml (in
the samples/SimpleTransform directory) and create foo.out.


I managed to compile and link it OK.  I am using our existing xerces 1.5.2
and xalan 1.2.  Did this with the following command:


/opt/aCC/bin/aCC -D __BIG_ENDIAN__
-I/solutionbuild/hpux/atlantic/isv/STLport/4.5/stlport -I
/solutionbuild/hpux/atlantic/isv/xerces/1.5.2/include -I
/solutionbuild/hpux/atlantic/isv/xalan/1.2/Distribution/c/src
-L/solutionbuild/hpux/atlantic/isv/xalan/1.2/bin -lxalan-c1_2
-L/solutionbuild/hpux/atlantic/isv/xerces/1.5.2/lib -lxerces-c1_5_2
-L/solutionbuild/hpux/atlantic/isv/icu/1.8/bin -licuuc -licui18n
SimpleTransform.cpp


When I try to run it, I get:


Could not load a local code page transcoder


Any ideas to solve this problem?





<<SimpleTransform.cpp>>





Steve Caputo
Software Engineer
Cognos, Inc.





This message may contain privileged and/or confidential information.  If
you have received this e-mail in error or are not the intended recipient,
you may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.(See attached file:
SimpleTransform.cpp)

Attachment: SimpleTransform.cpp
Description: Binary data

Reply via email to