[lxml-dev] lxml 1.3beta released

Stefan Behnel stefan_ml at behnel.de
Tue Feb 27 17:29:56 CET 2007


Hi all,

together with 1.2.1, I released a beta version of the upcoming 1.3 series. It
contains a number of bigger changes and enhancements over the 1.2 series. The
main difference is a rewrite of the internal namespace cleanup code that
should reduce the problems related to duplicated namespace declarations and
the like.

There are also some new things at the API level, including a DTD class for
validating against DTDs and two helper modules that were written by Fredrik
Lundh for simpler XML/HTML generation. I'm not sure the two modules will stay
in (and keep their current name), so don't bet your job on them for now. I
personally like them a lot, though.

Have fun,
Stefan

Changelog for 1.3beta (2007-02-27)

Features added

    * DTD validator class (like RelaxNG and XMLSchema)
    * HTML generator helpers by Fredrik Lundh in lxml.htmlbuilder
    * ElementMaker XML generator by Fredrik Lundh in lxml.builder.E
    * Support for pickeling objectify.ObjectifiedElement objects to XML
    * update() method on Element.attrib
    * Optimised replacement for libxml2's _xmlReconsiliateNs(). This allows
      lxml a better handling of namespaces when moving elements between
      documents.

Bugs fixed

    * Possible memory leaks in namespace handling when moving elements between
      documents

Other changes

    * major restructuring in the documentation


More information about the lxml-dev mailing list