diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2018-12-02 15:40:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-02 15:40:50 +0100 |
commit | 9ecef44311afe7082fdba124d5c1a688442b1854 (patch) | |
tree | c8424e9eaf9b8f68f5ad10d40bbc3bc06f048934 /CHANGES.txt | |
parent | 4432378cfc6d7bddb4cf9cac324606b9cae8647d (diff) | |
parent | 488286e179fc9b31df1570b4bca8d1ec9b1e4031 (diff) | |
download | python-lxml-9ecef44311afe7082fdba124d5c1a688442b1854.tar.gz |
Merge pull request #267 from regebro/master
Let ElementTreeProducer use the available namespaces
Diffstat (limited to 'CHANGES.txt')
-rw-r--r-- | CHANGES.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 6501ec7a..09578bf6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,10 @@ Features added * The module ``lxml.sax`` is compiled using Cython in order to speed it up. +* ElementTreeProducer now preserves the namespace prefixes. If two prefixes + point to the same URI, the first prefix in alphabetical order is used + for attributes. + * Updated ISO-Schematron implementation to 2013 version (now MIT licensed) and the corresponding schema to the 2016 version (with optional "properties"). @@ -3893,16 +3897,16 @@ Features added prefix to namespace URI mapping. This will create namespace prefix declarations on these elements and these prefixes will show up in XML serialization. - + Bugs fixed ---------- - + * Killed yet another memory management related bug: trees created using newDoc would not get a libxml2-level dictionary, which caused problems when deallocating these documents later if they contained a node that came from a document with a dictionary. -* Moving namespaced elements between documents was problematic as +* Moving namespaced elements between documents was problematic as references to the original document would remain. This has been fixed by applying xmlReconciliateNs() after each move operation. |