python-lxml/python-lxml.changes

78 lines
3.4 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Thu Aug 30 13:33:22 CEST 2007 - toms@suse.de
Updated to 1.3.4:
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).
-------------------------------------------------------------------
Mon Jul 30 15:10:07 CEST 2007 - toms@suse.de
Updated to 1.3.3 with the following changes:
Features added:
* ElementTree compatible parser ETCompatXMLParser strips
processing instructions and comments while parsing XML
* Parsers now support stripping PIs (keyword argument 'remove_pis')
* etree.fromstring() now supports parsing both HTML and XML,
depending on the parser you pass
* Support base_url keyword argument in HTML() and XML()
Bugs fixed:
* Parsing from Python Unicode strings failed on some platforms
* Element() did not raise an exception on tag names containing ':'
* Element.getiterator(tag) did not accept Comment and ProcessingInstruction
as tags. It also accepts Element now.
-------------------------------------------------------------------
Fri Jan 19 13:03:00 CET 2007 - toms@suse.de
Updated to 1.1.2 with the following changes:
Features added:
* Data elements in objectify support repr(), which is now used by dump()
* Source distribution now ships with a patched Pyrex
* New C-API function makeElement() to create new elements with text, tail, attributes and namespaces
* Reuse original parser flags for XInclude
* Simplified support for handling XSLT processing instructions
Bugs fixed:
* Parser resources were not freed before the next parser run
* Open files and XML strings returned by Python resolvers were not closed/freed
* Crash in the IDDict returned by XMLDTDID
* Copying Comments and ProcessingInstructions failed
* Memory leak for external URLs in _XSLTProcessingInstruction.parseXSL()
* Memory leak when garbage collecting tailed root elements
* HTML script/style content was not propagated to .text
* Show text xincluded between text nodes correctly in .text and .tail
* 'integer * objectify.StringElement' operation was not supported
-------------------------------------------------------------------
Fri Dec 1 11:12:37 CET 2006 - toms@suse.de
- New package 1.1.2 moved from openSUSE build server