You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Wolfgang Schell <wo...@gmx.de> on 2002/03/26 22:09:27 UTC
Minor bugs
Hi!
I found two minor bugs I'd like to share with you :-)
(Sorry, no diff format :-( )
in samples/XPathWrapper/XPathWrapper.cpp, around line 234 (might have
changed):
// Shut down Xerces...
XMLPlatformUtils::Initialize();
Looks like it should have been
// Shut down Xerces...
XMLPlatformUtils::Terminate();
and the other one (probably copy/paste mistake):
in src/XalanTransformer/XalanTransformer.cpp in function
XalanTransformer::destroyParsedSource():
#if defined(XALAN_CANNOT_DELETE_CONST)
delete (XalanCompiledStylesheet*) theParsedSource;
#else
delete theParsedSource;
#endif
Looks like it should have been
#if defined(XALAN_CANNOT_DELETE_CONST)
delete (XalanParsedSource*) theParsedSource;
#else
delete theParsedSource;
#endif
Cheers,
Wolfgang
--
Wolfgang Schell
wolfgang.schell@gmx.net
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net