Location: PHPKode > scripts > Craur > DracoBlue-Craur-305a42f/php/tests/fail_with_broken_xml_test.php
<?php
try
{
    $node = Craur::createFromXml('<book><author></author</book>');
    assert(false);
}
catch (Exception $exception)
{
    /*
     * Great, it broke! :)
     */
}
Return current item: Craur