Hello Hello we are compiling a snapshot of the Xalan-c and Xerces-c trunk taken a few weeks ago. We used the trunk as we must use VC8 (VS2005).
However we are still using the deprecated bridge code to Xerces. Ie. added to preprocessor defs. Yes we would love to upgrade all our code to NOT use the deprecated Xerces code, but impact is too great right now - deadlines and all. So unless deprecated Xerces is known not to work anymore, we really want to solve this, since most our work is just about done. When compiling Xalan with the XALAN_BUILD_DEPRECATED_DOM_BRIDGE preprocessor def we get the following error below. We just cannot see what the problem is here ? I can compile all ok without the deprecated flag. Now its seems that XercesBridgeTypes.hpp is where DOM_Document_Type gets defined and is prefixed with the Xerces namespace. But also in XercesDOMWrapperParsedSource.hpp there are typedef's for DOM_Document_Type and DOMDocument_Type. Why they are needed I can't see ? The error "unexpected type" is odd in a class definition no ?? Has anyone tried this or got any ideas, cause we have run out !! COMPILER OUTPUT: 11>------ Build started: Project: AllInOne, Configuration: Release Win32 ------ 1>Compiling... 1>XercesDOMWrapperParsedSource.cpp 1>c:\projects\clarite\trunk\xalanc\xalan-c_1_10_0_dev\src\xalanc\xalantr ansformer\XercesDOMWrapperParsedSource.hpp(73) : error C2226: syntax error : unexpected type 'xalanc_1_10::DOM_Document_Type' 1>c:\projects\clarite\trunk\xalanc\xalan-c_1_10_0_dev\src\xalanc\xalantr ansformer\XercesDOMWrapperParsedSource.hpp(73) : error C2238: unexpected token(s) preceding ';' 1>..\..\..\..\src\xalanc\XalanTransformer\XercesDOMWrapperParsedSource.c pp(45) : error C2511: 'xalanc_1_10::XercesDOMWrapperParsedSource::XercesDOMWrapperParsedSource (const xalanc_1_10::DOM_Document_Type &,xalanc_1_10::XercesParserLiaison &,xalanc_1_10::XercesDOMSupport &,const xalanc_1_10::XalanDOMString &,xalanc_1_10::MemoryManagerType &)' : overloaded member function not found in 'xalanc_1_10::XercesDOMWrapperParsedSource' 1> c:\projects\clarite\trunk\xalanc\xalan-c_1_10_0_dev\src\xalanc\xalantran sformer\XercesDOMWrapperParsedSource.hpp(57) : see declaration of 'xalanc_1_10::XercesDOMWrapperParsedSource' 1>..\..\..\..\src\xalanc\XalanTransformer\XercesDOMWrapperParsedSource.c pp(115) : error C2059: syntax error : '}' 1>..\..\..\..\src\xalanc\XalanTransformer\XercesDOMWrapperParsedSource.c pp(116) : error C2612: trailing 'end of file' illegal in base/member initializer list 1>..\..\..\..\src\xalanc\XalanTransformer\XercesDOMWrapperParsedSource.c pp(116) : fatal error C1004: unexpected end-of-file found 1>Build log was saved at "file://c:\projects\clarite\trunk\xalanc\Xalan-C_1_10_0_dev\Build\Win32\ VC8\Release\AllInOne\BuildLog.htm" 1>AllInOne - 6 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Cheers Dean.