[lxml-dev] lxml 1.3.4 released

Hi all, I just released lxml 1.3.4 to PyPI. It has a minor bug fix and a few compatibility enhancements both backwards and forwards. Changelog follows. One of the changes is that the exception that 1.3.3 raised for tag names containing a ':' was changed into a warning. lxml 2.0 will be strict here. Have fun, Stefan 1.3.4 (2007-08-30) Features added * The ElementMaker in lxml.builder now accepts the keyword arguments namespace and nsmap to set a namespace and nsmap for the Elements it creates. * The docinfo on ElementTree objects has new properties internalDTD and externalDTD that return a DTD object for the internal or external subset of the document respectively. * Serialising an ElementTree now includes any internal DTD subsets that are part of the document, as well as comments and PIs that are siblings of the root node. Bugs fixed * Parsing with the no_network option could fail Other changes * lxml now raises a TagNameWarning about tag names containing ':' instead of an Error as 1.3.3 did. The reason is that a number of projects currently misuse the previous lack of tag name validation to generate namespace prefixes without declaring namespaces. Apart from the danger of generating broken XML this way, it also breaks most of the namespace-aware tools in XML, including XPath, XSLT and validation. lxml 1.3.x will continue to support this bug with a Warning, while lxml 2.0 will be strict about well-formed tag names (not only regarding ':'). * Serialising an Element no longer includes its comment and PI siblings (only ElementTree serialisation includes them).

Hi Stefan, Just in case you didn't notice yet, the download link for 1.3.4 on http://codespeak.net/lxml is broken. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214

Windows binaries for Python 2.4 and 2.5 are now available. sitting-here-at-a-PyConBrasil-talk-ly, -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214

Le jeudi 30 août 2007 12:28, Stefan Behnel a écrit :
On my debian etch (stable), I only have setuptools 0.6c3, but lxml 1.3.4 needs at least 0.6c5... I just changed the test in setup.py, and all compiled fine. But may I have some problems? Do 1.3.4 *really* need setuptools >=0.6c5? -- Frédéric

Hi,
I had the same issue on my kubuntu system the other day, and did the same thing to get it to build (I *think* that was svn trunk, though), because I'd rather use os packages than easy_install newer setuptools, if possible. Worked for me. Holger -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

Hi Stefan, Just in case you didn't notice yet, the download link for 1.3.4 on http://codespeak.net/lxml is broken. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214

Windows binaries for Python 2.4 and 2.5 are now available. sitting-here-at-a-PyConBrasil-talk-ly, -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214

Le jeudi 30 août 2007 12:28, Stefan Behnel a écrit :
On my debian etch (stable), I only have setuptools 0.6c3, but lxml 1.3.4 needs at least 0.6c5... I just changed the test in setup.py, and all compiled fine. But may I have some problems? Do 1.3.4 *really* need setuptools >=0.6c5? -- Frédéric

Hi,
I had the same issue on my kubuntu system the other day, and did the same thing to get it to build (I *think* that was svn trunk, though), because I'd rather use os packages than easy_install newer setuptools, if possible. Worked for me. Holger -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
participants (4)
-
Frédéric Mantegazza
-
jholg@gmx.de
-
Sidnei da Silva
-
Stefan Behnel