File:  [parser3project] / parser3 / tests / 181.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Nov 6 13:17:41 2019 UTC (6 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, HEAD
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&nbsp^;b
</document>

E-mail: