]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) (#128582)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Jan 2025 11:31:04 +0000 (12:31 +0100)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2025 11:31:04 +0000 (13:31 +0200)
commit3714fd07c5a98811f677334e6be7fd042c305daa
tree6a5c9f54cf608763f03f4f0a98296e1f3d60c4ec
parent65da5db28a39cb0d9ee311206bdc8745b482c56f
[3.13] gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) (#128582)

gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284)

* Allow DOMParser.parse() to correctly handle DOMInputSource instances
  that only have a systemId attribute set.
* Fix DOMEntityResolver.resolveEntity(), which was broken by the
  Python 3.0 transition.
* Add Lib/test/test_xml_dom_xmlbuilder.py with few tests.
(cherry picked from commit 6ea04da27036eaa69d65150148bb8c537d9beacf)

Co-authored-by: Stephen Morton <git@tungol.org>
Lib/test/test_xml_dom_xmlbuilder.py [new file with mode: 0644]
Lib/xml/dom/xmlbuilder.py
Misc/NEWS.d/next/Library/2024-12-27-16-28-57.gh-issue-128302.2GMvyl.rst [new file with mode: 0644]
Misc/NEWS.d/next/Library/2024-12-29-13-49-46.gh-issue-128302.psRpPN.rst [new file with mode: 0644]