mirror of
https://github.com/python/cpython.git
synced 2026-11-08 06:49:13 +08:00
The Python implementation of XMLParser only reported a document type declaration with an external identifier. Use the Expat handler, like the C implementation does. (cherry picked from commit f802d2d246ba9b8ed53aa6e760faad68fd490710) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>