Republican presidential candidate John McCain has denounced a satirical cartoon on the cover of the New Yorker magazine depicting Barack Obama in Islamic dress beside a burning US flag in the Oval Office though the weekly defended the "satire" and "spirit" behind the caricature.