Location: PHPKode > projects > Open Power Template > tests/Opt/xml/comments_2.txt
Check whether the -- is not allowed within the comments according
to the XML syntax.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<foo>
<!--
 foo -- bar
-->
</foo>

>>>>data.php
$this->tpl->printComments = true;

>>>>expected.txt
Opt_XmlComment_Exception

Return current item: Open Power Template