Skip to content
Snippets Groups Projects
Unverified Commit d4f5bb91 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31471)

Curly brackets were never allowed in namespace URIs
according to RFC 3986, and so-called namespace-validating
XML parsers have the right to reject them a invalid URIs.

libexpat >=2.4.5 has become strcter in that regard due to
related security issues; with ET.XML instantiating a
namespace-aware parser under the hood, this test has no
future in CPython.

References:
- https://datatracker.ietf.org/doc/html/rfc3968
- https://www.w3.org/TR/xml-names/



Also, test_minidom.py: Support Expat >=2.4.5
(cherry picked from commit 2cae9383)

Co-authored-by: default avatarSebastian Pipping <sebastian@pipping.org>
parent 5fdacac8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment