mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
The early return in case of zero open internal entities and matching end/nextPtr pointers cause the parser to miss XML_ERROR_NO_ELEMENTS error. The reason is that the internalEntityProcessor does not set the m_reenter flag in such a case, which results in skipping the prologProcessor or contentProcessor depending on wheter is_param is set or not. However, this last skipped call to mentioned processors can detect the non-existence of elements when some are expected. |
||
---|---|---|
.. | ||
.gitignore | ||
ascii.h | ||
asciitab.h | ||
expat.h | ||
expat_external.h | ||
iasciitab.h | ||
internal.h | ||
latin1tab.h | ||
libexpat.def.cmake | ||
Makefile.am | ||
nametab.h | ||
siphash.h | ||
utf8tab.h | ||
winconfig.h | ||
xmlparse.c | ||
xmlrole.c | ||
xmlrole.h | ||
xmltok.c | ||
xmltok.h | ||
xmltok_impl.c | ||
xmltok_impl.h | ||
xmltok_ns.c |