You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by David Fishburn <fi...@ianywhere.com> on 2003/08/05 20:50:27 UTC

Compiler errors building Xalan 1.5 with Xerces 2.3.0

I downloaded:
 http://xml.apache.org/dist/xerces-c/stable/archives
        xerces-c-src2_2_0.zip
        xerces-c2_2_0-win32.zip
        xerces-c-src_2_3_0.zip
        xerces-c_2_3_0-win32.zip

I have Xalan 1.5 and Xerces 2.2.0 compiling and running fine (I had to
rebuild both using VC6 to compile the samples though).

I would like to be at the latest and greatest of both pieces of software
(now that I have stuff working).

So I rebuild Xerces 2.3.0 (XercesLib Debug/Release).
Copied:
 C:\OpenSrc\xalan\C\xerces-c-src_2_3_0\Build\Win32\VC6\Debug
        xerces-c_2D.lib -> C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\lib
        xerces-c_2_3_0D.dll ->
C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\bin
        
C:\OpenSrc\xalan\C\xerces-c-src_2_3_0\Build\Win32\VC6\Release
        xerces-c_2D.lib -> C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\lib
        xerces-c_2_3_0D.dll ->
C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\bin
    

Since I decided to use Xerces 2.3.0 instead of 2.2.0, I changed the
2.2.0 references to the following 
    directories:
        Under include files:
            C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\include
        Under library files:
            C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\lib

Opened: C:\OpenSrc\xalan\C\xml-xalan\c\Projects\Win32\VC6\xalan.dsw
Set the Active Project -> XalanTransformerCallback - Win32 Debug
Clean
Build

Besides the millions of warning messages, I get:
C:\OpenSrc\xalan\C\xml-xalan\c\src\PlatformSupport\XalanTranscodingServi
ces.cpp(309) : error C2661: 'makeNewTranscoderFor' : no overloaded
function takes 3 parameters

Has anyone seen this before?

By the way, any dates on Xalan 1.6 or anything?

Thanks,
Dave



Re: Compiler errors building Xalan 1.5 with Xerces 2.3.0

Posted by da...@us.ibm.com.



Hi Dave,

Xalan 1.5 is not source-code compatible with Xerces-C 2.3 because of
changes in Xerces-C.  This has been asked and answered on the list many
times.

Xalan 1.6 is available on the web site.  I have not send out an
announcement about it because we're still trying to straighten out a few
problems with the packaging.

Dave



                                                                                                                                  
                      "David Fishburn"                                                                                            
                      <fishburn@ianywh         To:      <xa...@xml.apache.org>                                            
                      ere.com>                 cc:      (bcc: David N Bertoni/Cambridge/IBM)                                      
                                               Subject: Compiler errors building Xalan 1.5 with Xerces 2.3.0                      
                      08/05/2003 11:50                                                                                            
                      AM                                                                                                          
                                                                                                                                  




I downloaded:
 http://xml.apache.org/dist/xerces-c/stable/archives
        xerces-c-src2_2_0.zip
        xerces-c2_2_0-win32.zip
        xerces-c-src_2_3_0.zip
        xerces-c_2_3_0-win32.zip

I have Xalan 1.5 and Xerces 2.2.0 compiling and running fine (I had to
rebuild both using VC6 to compile the samples though).

I would like to be at the latest and greatest of both pieces of software
(now that I have stuff working).

So I rebuild Xerces 2.3.0 (XercesLib Debug/Release).
Copied:
 C:\OpenSrc\xalan\C\xerces-c-src_2_3_0\Build\Win32\VC6\Debug
        xerces-c_2D.lib -> C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\lib
        xerces-c_2_3_0D.dll ->
C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\bin

C:\OpenSrc\xalan\C\xerces-c-src_2_3_0\Build\Win32\VC6\Release
        xerces-c_2D.lib -> C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\lib
        xerces-c_2_3_0D.dll ->
C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\bin


Since I decided to use Xerces 2.3.0 instead of 2.2.0, I changed the
2.2.0 references to the following
    directories:
        Under include files:
            C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\include
        Under library files:
            C:\OpenSrc\xalan\C\xerces-c_2_3_0-win32\lib

Opened: C:\OpenSrc\xalan\C\xml-xalan\c\Projects\Win32\VC6\xalan.dsw
Set the Active Project -> XalanTransformerCallback - Win32 Debug
Clean
Build

Besides the millions of warning messages, I get:
C:\OpenSrc\xalan\C\xml-xalan\c\src\PlatformSupport\XalanTranscodingServi
ces.cpp(309) : error C2661: 'makeNewTranscoderFor' : no overloaded
function takes 3 parameters

Has anyone seen this before?

By the way, any dates on Xalan 1.6 or anything?

Thanks,
Dave