mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
4629ee02ac
Unless explicietely asked for when validating or replacing entities with their value. Problem pointed out by Tom Lane <tgl@redhat.com> * parser.c: do not load external parsed entities unless needed * test/errors/extparsedent.xml result/errors/extparsedent.xml*: add a regression test to avoid change of the behaviour in the future
6 lines
103 B
XML
6 lines
103 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE foo [
|
|
<!ENTITY c PUBLIC "bar" "/etc/doesnotexist">
|
|
]>
|
|
<root>&c;</root>
|