Usar js es una alternativa, pero no me arriesgaría.
No te lo valida por el DTD que debes de tener declarado. Prueba con el DTD así
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1
plus Target 1.0//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Esto se comentó ampliamente en este excelente post
http://www.forosdelweb.com/f4/iframes-validos-xhtml-1-1-a-261077/
un saludo