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
[EMAIL PROTECTED]

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Reply via email to