forked from pool/python-lxml
- 5.3.0 (2024-08-10)
Features added
- GH#421: Nested CDATA sections are no longer rejected but split
on output to represent ]]> correctly. Patch by Gertjan Klein.
Bugs fixed
- LP#2060160: Attribute values serialised differently in
xmlfile.element() and xmlfile.write().
- LP#2058177: The ISO-Schematron implementation could fail on
unknown prefixes. Patch by David Lakin.
Other changes
- LP#2067707: The strip_cdata option in HTMLParser() turned out
to be useless and is now deprecated.
- Built with Cython 3.0.11.
OBS-URL: https://build.opensuse.org/request/show/1203593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=202
13 lines
593 B
Diff
13 lines
593 B
Diff
Index: lxml-5.1.0/src/lxml/tests/test_etree.py
|
|
===================================================================
|
|
--- lxml-5.1.0.orig/src/lxml/tests/test_etree.py
|
|
+++ lxml-5.1.0/src/lxml/tests/test_etree.py
|
|
@@ -3256,6 +3256,7 @@ class ETreeOnlyTestCase(HelperTestCase):
|
|
self.assertEqual(re, e.nsmap)
|
|
self.assertEqual(r, s.nsmap)
|
|
|
|
+ @unittest.skipIf(etree.LIBXML_VERSION >= (2, 10, 4), "libxml2 regression ignores namespaces")
|
|
def test_html_prefix_nsmap(self):
|
|
etree = self.etree
|
|
el = etree.HTML('<hha:page-description>aa</hha:page-description>')
|