mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

Use in ctxt->input->entity instead of ctxt->inputNr to determine whether we are inside a parameter entity. Stop using ctxt->external to check whether we're in an external DTD. This is signaled by ctxt->inSubset == 2.
5 lines
84 B
XML
5 lines
84 B
XML
<!DOCTYPE doc SYSTEM "dtds/pe-in-text-decl.dtd" [
|
|
<!ENTITY % ent "foo">
|
|
]>
|
|
<doc/>
|