markrosenrosen wrote:
What version / platform of Xerces 3.x and Xalan are you using? I'm having
trouble compiling Xerces 3.0.1 and Xalan 1.10 on Linux (64bit, gcc 3.4).
Here are a few example errors:

In file included from
/tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XSLException.hpp:27,
                 from
/tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XalanXPathException.hpp:32,
                 from
/tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XObject.hpp:41,
                 from ../src/core/CFrame.C:13:
/tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:62:
error: conflicting return type specified for `virtual XMLSSize_t
xalanc_1_10::XalanLocator::getLineNumber() const'
/home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:102:
error:   overriding `virtual XMLFileLoc
xercesc_3_0::Locator::getLineNumber() const'
/tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:65:
error: conflicting return type specified for `virtual XMLSSize_t
xalanc_1_10::XalanLocator::getColumnNumber() const'
/home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:112:
error:   overriding `virtual XMLFileLoc
xercesc_3_0::Locator::getColumnNumber() const'
Xerces-C 3.0 has a number of incompatible source code changes from the 2.x branch.

My suggestion is you use the trunk of the Subversion repository, which is quite stable, will build with both Xerces-C 2.8 and Xerces-C 3.x and is more stable than Xalan-C 1.10.

Dave

Reply via email to