|
|
entities usage added, more entites load tests (related to bug #842 discussion)
@main[]
$x[^xdoc::create{^xml[http://localhost/tests/181.ent]}]
^x.string[]
^x.string[ $.method[html] $.omit-xml-declaration[yes] ]
$x[^xdoc::create{^xml[$request:document-root/tests/181.ent]}]
^try-catch{
$x[^xdoc::create{^xml[http://localhost/tests/no-such-file.ent]}]
}
done.
@xml[fname]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "$fname">
<document>
<root />a ^;b
</document>