Hi James,
I have never even heard of ParserTest.  I found it in the tests directory.
It isn't setup to be built on Unix (no Makefile points to it and the
directory doesn't have one either).  It also doesn't show up in MS VC6
project files.  sanityTest.pl doesn't execute it either.  I propose we
delete it.

Regards,
David A. Cargill
XML Parser Development
IBM Toronto Lab
(905) 413-2371, tie 969
[EMAIL PROTECTED]


                                                                           
             James Berry                                                   
             <[EMAIL PROTECTED]                                             
             g>                                                         To 
                                       xerces-c-dev@xml.apache.org         
             02/25/2005 09:46                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: Problems with compilation of    
             Please respond to         tests under gcc4?                   
               xerces-c-dev                                                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





On Feb 25, 2005, at 5:47 AM, David Cargill wrote:

> Hi,
> For XSValueTest  can someone send me the compiler errors?  I have a
> guess
> of which lines are causing problems but would rather see the real
> problem
> before making a fix.

(I know you didn't ask for this, but...just in case you're feeling
lucky... ;)... Here are the gcc4 errors from ParserTest:

ParserTest/ParserTest.cpp: In function `int main(int, char**)':
ParserTest/ParserTest.cpp:96: error: cannot declare variable
'parserTest' to be of abstract type 'TestParser'
ParserTest/ParserTest_Parser.hpp:65: note:   because the following
virtual functions are pure within 'TestParser':
../src/xercesc/framework/XMLErrorReporter.hpp:187: note:  virtual void
xercesc_2_6::XMLErrorReporter::error(unsigned int, const XMLCh*,
xercesc_2_6::XMLErrorReporter::ErrTypes, const XMLCh*, const XMLCh*,
const XMLCh*, XMLSSize_t, XMLSSize_t)
../src/xercesc/validators/DTD/DocTypeHandler.hpp:111: note:  virtual
void xercesc_2_6::DocTypeHandler::doctypeDecl(const
xercesc_2_6::DTDElementDecl&, const XMLCh*, const XMLCh*, bool, bool)
../src/xercesc/framework/XMLDocumentHandler.hpp:202: note:  virtual
void xercesc_2_6::XMLDocumentHandler::endElement(const
xercesc_2_6::XMLElementDecl&, unsigned int, bool, const XMLCh*)
ParserTest/ParserTest.cpp:160: error: no matching function for call to
'xercesc_2_6::XMLScanner::XMLScanner(TestParser*, TestParser*, int,
TestParser*, xercesc_2_6::XMLValidator*&)'
../src/xercesc/internal/XMLScanner.hpp:1086: note: candidates are:
xercesc_2_6::XMLScanner::XMLScanner(const xercesc_2_6::XMLScanner&)
../src/xercesc/internal/XMLScanner.hpp:1085: note:
xercesc_2_6::XMLScanner::XMLScanner()
../src/xercesc/internal/XMLScanner.hpp:438: note:
xercesc_2_6::XMLScanner::XMLScanner(xercesc_2_6::XMLDocumentHandler*,
xercesc_2_6::DocTypeHandler*, xercesc_2_6::XMLEntityHandler*,
xercesc_2_6::XMLErrorReporter*, xercesc_2_6::XMLValidator*,
xercesc_2_6::GrammarResolver*, xercesc_2_6::MemoryManager*)
../src/xercesc/internal/XMLScanner.hpp:428: note:
xercesc_2_6::XMLScanner::XMLScanner(xercesc_2_6::XMLValidator*,
xercesc_2_6::GrammarResolver*, xercesc_2_6::MemoryManager*)
ParserTest/ParserTest.cpp:154: error: cannot declare variable 'scanner'
to be of abstract type 'xercesc_2_6::XMLScanner'
../src/xercesc/internal/XMLScanner.hpp:362: note:   because the
following virtual functions are pure within 'xercesc_2_6::XMLScanner':
../src/xercesc/internal/XMLScanner.hpp:479: note:  virtual const XMLCh*
xercesc_2_6::XMLScanner::getName() const
../src/xercesc/internal/XMLScanner.hpp:480: note:  virtual
xercesc_2_6::NameIdPool<xercesc_2_6::DTDEntityDecl>*
xercesc_2_6::XMLScanner::getEntityDeclPool()
../src/xercesc/internal/XMLScanner.hpp:481: note:  virtual const
xercesc_2_6::NameIdPool<xercesc_2_6::DTDEntityDecl>*
xercesc_2_6::XMLScanner::getEntityDeclPool() const
../src/xercesc/internal/XMLScanner.hpp:488: note:  virtual unsigned int
xercesc_2_6::XMLScanner::resolveQName(const XMLCh*,
xercesc_2_6::XMLBuffer&, short int, int&)
../src/xercesc/internal/XMLScanner.hpp:492: note:  virtual void
xercesc_2_6::XMLScanner::scanDocument(const xercesc_2_6::InputSource&)
../src/xercesc/internal/XMLScanner.hpp:493: note:  virtual bool
xercesc_2_6::XMLScanner::scanNext(xercesc_2_6::XMLPScanToken&)
../src/xercesc/internal/XMLScanner.hpp:499: note:  virtual
xercesc_2_6::Grammar* xercesc_2_6::XMLScanner::loadGrammar(const
xercesc_2_6::InputSource&, short int, bool)
../src/xercesc/internal/XMLScanner.hpp:738: note:  virtual void
xercesc_2_6::XMLScanner::scanCDSection()
../src/xercesc/internal/XMLScanner.hpp:739: note:  virtual void
xercesc_2_6::XMLScanner::scanCharData(xercesc_2_6::XMLBuffer&)
../src/xercesc/internal/XMLScanner.hpp:746: note:  virtual
xercesc_2_6::XMLScanner::EntityExpRes
xercesc_2_6::XMLScanner::scanEntityRef(bool, XMLCh&, XMLCh&, bool&)
../src/xercesc/internal/XMLScanner.hpp:747: note:  virtual void
xercesc_2_6::XMLScanner::scanDocTypeDecl()
../src/xercesc/internal/XMLScanner.hpp:748: note:  virtual void
xercesc_2_6::XMLScanner::scanReset(const xercesc_2_6::InputSource&)
../src/xercesc/internal/XMLScanner.hpp:749: note:  virtual void
xercesc_2_6::XMLScanner::sendCharData(xercesc_2_6::XMLBuffer&)
make[2]: *** [ParserTest/ParserTest.o] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to