We are in the process of trying to upgrade to Xerces 3.1.1 from Xerces 2.7.0.
We have a problem building/testing on Solaris 2.9 with gcc 4.5.2 (for 2.7.0 we used suncc) My configure looks like this: ../configure \ --prefix="instPath" \ --enable-static \ --disable-shared \ --disable-debug \ --disable-acexml \ --disable-qos \ --disable-ace-examples \ --with-openssl="sslPath" \ LIBS="-ldl -laio" This builds ok but running the tests as follows fails: cp ../tests/run* tests ( cd tests; perl -I ../../bin run_test.pl ) Previously our tests ran successfully this way on 2.7.0 and they also run successfully for 3.1.1 on other platforms like Linux. The errors we receive are: rm -f test-results.log export PATH=/srcspace/pmontrow/Thirdparty/unix/source/xerces-c-3.1.1/samples:/srcspace/pmontrow/Thirdparty/unix/source/xerces-c-3.1.1/tests:"/usr/local/bin:/usr/bin:/bin:/usr/sbin:/usr/ccs/bin" && export XERCESC_NLS_HOME=/srcspace/pmontrow/Thirdparty/unix/source/xerces-c-3.1.1/src/.libs && cd . && perl scripts/sanityTest.pl 2>&1 | /usr/bin/sed 's/ *[0-9][0-9]* *ms */{timing removed}/' 1> /srcspace/pmontrow/Thirdparty/unix/source/xerces-c-3.1.1/test-results.log diff test-results.log ./scripts/sanityTest_ExpectedResult.log 21,22c21,22 < terminate called after throwing an instance of 'xercesc_3_1::EndOfEntityException' < terminate called after throwing an instance of 'xercesc_3_1::EndOfEntityException' --- > personal.xml:{timing removed}(37 elems, 12 attrs, 0 spaces, 268 chars) > personal.xml:{timing removed}(37 elems, 12 attrs, 134 spaces, 134 chars) 48,51c48,125 < terminate called after throwing an instance of 'xercesc_3_1::EndOfEntityException' < <?xml version="1.0" encoding="LATIN1"?> < terminate called after throwing an instance of 'xercesc_3_1::EndOfEntityException' < <?xml version="1.0" encoding="LATIN1"?> --- > <personnel> > > <person id="Big.Boss"> > <name><family>Boss</family> <given>Big</given></name> > <email>ch...@foo.com</email> > <link subordinates="one.worker two.worker three.worker four.worker > five.worker"></link> > </person> > > <person id="one.worker"> > <name><family>Worker</family> <given>One</given></name> > <email>o...@foo.com</email> > <link manager="Big.Boss"></link> > </person> > There's many more lines of diff, the essential problem is everything terminates with this EndOfEntityException. Any thoughts appreciated. Philip