Location: PHPKode > projects > Open Power Template > tests/Opt/xml/prolog_3.txt
Check whether the XML prolog works.

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

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

>>>>expected.txt
Opt_XmlInvalidCharacter_Exception
Return current item: Open Power Template