I think it is possible to add the `autostart` as `#if ($autostart == 'true') autostart="true"#end` to make this XHTML compliant (same for the `repeat`).