Let's end the debate: W3C compliance doesn't help your Google rank, and not complying doesn't hurt. That's according to Google engineer Matt Cutts in his answer to the question "Why doesn't google.com validate?".