]> granicus.if.org Git - libexpat/commit
Don't suppress default handler unnecessarily (Issue #11)
authorRhodri James <rhodri@kynesim.co.uk>
Thu, 3 Aug 2017 10:25:04 +0000 (11:25 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 22 Aug 2017 22:36:20 +0000 (00:36 +0200)
commit4af5450ebb183846f2f99b1662f96582baadacad
treeedbf4edcf2b1bf3244ac70352cfa77407a49918b
parent80e94383b106f1b8625cb4a559c6a6f9b1bf1d45
Don't suppress default handler unnecessarily (Issue #11)

The roles XML_ROLE_DOCTYPE_PUBLIC_ID and XML_ROLE_DOCTYPE_SYSTEM_ID
fall through to XML_ROLE_ENTITY_PUBLIC_ID and XML_ROLE_ENTITY_SYSTEM_ID
respectively.  This lead to the default handler getting suppressed if
there was no start doctype declaration handler but there was an entity
declaration handler.
expat/lib/xmlparse.c