Problems concerning integration have been discussed on maple primes before with piecewise continuous antiderivatives explaining difficulties. Here an example is given using Maple 15 where a continuous antiderivative is returned but definite integration fails to give the correct answer.
Integration_anomal.mw