Hello,
I am trying to build Xalan on a .Net platform (visual
studio 7.1). Xerces 2.6 is installed and functions properly. I am getting a
number of errors. It looks like some of the files are outdated.
Here are some of the errors I am getting:
- C:\xml-xalan\c\Tests\Compare\compare.cpp(97):
error C2248: 'xalanc_1_9::XalanFileUtility::XalanFileUtility' : cannot
access private member declared in class 'xalanc_1_9::XalanFileUtility'
- C:\xml-xalan\c\Tests\Extensions\extensions.cpp(110):
error C2660: 'xalanc_1_9::XalanFileUtility::generateFileName' : function
does not take 2 arguments
- C:\xml-xalan\c\Tests\InputSource\inputsource.cpp(202):
error C2660: 'xalanc_1_9::StylesheetConstructionContextDefault::StylesheetConstructionContextDefault'
: function does not take 2 arguments
- C:\xml-xalan\c\Tests\InputSource\inputsource.cpp(181):
error C2512: 'xalanc_1_9::XSLTProcessorEnvSupportDefault' : no appropriate
default constructor available
- C:\xml-xalan\c\Tests\Memory\Stressmem.cpp(128):
error C2660: 'xalanc_1_9::XalanFileUtility::generateUniqRunid' : function
does not take 0 arguments
- C:\xml-xalan\c\Tests\Memory\Stressmem.cpp(125):
error C2660: 'xalanc_1_9::XalanFileUtility::getDirectoryNames' : function
does not take 1 arguments
- C:\xml-xalan\c\Tests\Extensions\extensions.cpp(361):
error C2660: 'xalanc_1_9::XalanFileUtility::getDrive' : function does not
take 0 arguments
- C:\xml-xalan\c\Tests\Memory\Stressmem.cpp(160):
error C2660: 'xalanc_1_9::XalanFileUtility::getTestFileNames' : function
does not take 3 arguments
- C:\xml-xalan\c\Tests\Extensions\extensions.cpp(203):
error C2664: 'void xalanc_1_9::XalanFileUtility::checkAPIResults(const
xalanc_1_9::XalanDOMString &,const xalanc_1_9::XalanDOMString
&,const char *,xalanc_1_9::XalanXMLFileReporter &,const
xalanc_1_9::XalanDOMString &,const xalanc_1_9::XalanDOMString
&,bool)' : cannot convert parameter 7 from 'bool' to 'const xalanc_1_9::XalanDOMString
&' Reason: cannot convert from 'const char *' to 'const
xalanc_1_9::XalanDOMString'
-
Constructor for class 'xalanc_1_9::XalanDOMString' is declared 'explicit'
- C:\xml-xalan\c\src\xalanc\TestXSLT\process.cpp(658):
error C2664: 'xalanc_1_9::FormatterToHTML::FormatterToHTML' : cannot
convert parameter 1 from 'xalanc_1_9::MemoryManagerType' to
'xalanc_1_9::Writer &' A reference that is not to 'const' cannot
be bound to a non-lvalue
- C:\xml-xalan\c\src\xalanc\TestXSLT\process.cpp(631):
error C2664:
'xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer
&,bool,bool,xalanc_1_9::MemoryManagerType &)' : cannot convert
parameter 1 from 'xalanc_1_9::MemoryManagerType' to 'xalanc_1_9::Writer
&'
- C:\xml-xalan\c\Tests\Compare\compare.cpp(172):
error C2664:
'xalanc_1_9::FormatterToSourceTree::FormatterToSourceTree(xalanc_1_9::MemoryManagerType
&,xalanc_1_9::XalanSourceTreeDocument *)' : cannot convert parameter 1
from 'xalanc_1_9::XalanSourceTreeDocument *' to
'xalanc_1_9::MemoryManagerType &' A reference that is not to 'const'
cannot be bound to a non-lvalue
- C:\xml-xalan\c\Tests\InputSource\inputsource.cpp(208):
error C2664: 'xalanc_1_9::StylesheetExecutionContextDefault::StylesheetExecutionContextDefault(xalanc_1_9::MemoryManagerType
&,xalanc_1_9::XalanNode *,const xalanc_1_9::NodeRefListBase *,const
xalanc_1_9::PrefixResolver *)' : cannot convert parameter 1 from
'xalanc_1_9::XSLTEngineImpl' to 'xalanc_1_9::MemoryManagerType &' A
reference that is not to 'const' cannot be bound to a non-lvalue
- C:\xml-xalan\c\Tests\Extensions\extensions.cpp(364):
error C2664: 'xalanc_1_9::XalanXMLFileReporter::XalanXMLFileReporter(const
xalanc_1_9::XalanXMLFileReporter &)' : cannot convert parameter 1 from
'const xalanc_1_9::XalanDOMString' to 'const
xalanc_1_9::XalanXMLFileReporter &' Reason: cannot convert from 'const
xalanc_1_9::XalanDOMString' to 'const xalanc_1_9::XalanXMLFileReporter'
No constructor could take the source type, or constructor overload
resolution was ambiguous
- C:\xml-xalan\c\Tests\Dom2Dom\dom2dom.cpp(280):
error C2664:
'xalanc_1_9::XercesParserLiaison::XercesParserLiaison(xalanc_1_9::XercesDOMSupport
&,xalanc_1_9::MemoryManagerType &)' : cannot convert parameter 1
from 'xalanc_1_9::MemoryManagerType' to 'xalanc_1_9::XercesDOMSupport
&'
- C:\xml-xalan\c\Tests\Extensions\extensions.cpp(362):
error C2676: binary '+' : 'const xalanc_1_9::XalanDOMString' does not
define this operator or a conversion to a type acceptable to the
predefined operator
- C:\xml-xalan\c\Tests\Extensions\extensions.cpp(112):
error C2676: binary '+' : 'xalanc_1_9::XalanDOMString' does not define
this operator or a conversion to a type acceptable to the predefined operator
Any reason why this is happening and any ideas how to
fix it?
Thanx,
|