Even if the d40x image quality was superior to the canon, it would not matter. This is a lens comparison. An expensive prime vs. consumer zoom comparison to be exact. I could do the same comparison with my D2X and 105mm macro vs. my d200 and 28-105mm.
The only thing it really shows to me is that primes are sharper than zooms.
The only thing it really shows to me is that primes are sharper than zooms.