XML Document Changes
XML Document Changes
Version 1.0a6
A minor bug fix release.
Bugs fixed
- Fixed another bug that caused Wrong Document Exceptions with Zope 2.1.5
- Added __name__ to Nodes to improve traceback readability thanks to Jonothon Farr.
Version 1.0a5
A minor bug fix release.
Bugs fixed
- Fixed a bug that caused spurious Wrong Document Exceptions.
Version 1.0a4
Creating and moving Nodes should now be more robust.
Bugs fixed
- Fixed a longstanding problem of ownerDocuments not being right on newly created Nodes that the last release exacerbated.
Version 1.0a3
This version offers a few feature changes and a couple bug fixes.
Features added
- Added a convenience argument to
text_content
. Now text_content(tagName) is a shortcut for the text_content of sub-nodes with nametagName
. This is handy, for example given element foo:Foo's name
foo.text_content(name
) returns "Foo's name".
- Added objectIndex() convenience method.
Bugs fixed
- New nodes are now not quite as broken -- they are part of the acquisition path. This needs more work.
- Some fixes to DOM write methods which failed for Text Nodes, and a fix for getElementsByTagName. Thanks to Andrew Kuchling.
- Thanks to Gabor Melis for a patch to improve editing.
- Don't commit a transaction if there is an error in parsing, also from Gabor Melis.
- Fix to insertBefore from Martijn Faassen.
- Fixed node changing methods to return the effected Node in their correct acquisition context.
- Fixed a bug that kept CDATA nodes from showing up in text_content.
- Added a memory use improvement to deactive ghosts which were woken
up in the course of the
toXML
method.
Version 1.0a2
This version changes quite a bit internally over the last alpha. Now XML Document uses ZDOM as much as it can. This will keep us all happier and saner. Also this version starts to rely on stuff in the latest pyexpat. Finally, the DOM support is much improved.
TODO
- DOM support is still somewhat incomplete and needs massive testing. I need to document which DOM methods and nodes are supported, and which ones aren't.
Features added
- Added FTP and PUT support.
- Attributes are now available as Attr Nodes thanks to converting to ZDOM.
- Comment and CDATA Section Nodes are now parsed.
- Support for DocumentFragment Nodes added.
- Many more DOM methods implemented.
Bugs Fixed
- Fixed some DOM modification methods that failed for Nodes that don't support children. Thanks to Andrew Kuchling.
- Fixed getElementsByTagName. Thanks again to Andrew.
- Fixed the return values of some DOM methods. Thanks to Martijn Faassen.
- The clone should work now.
Version 1.0a1
Initial alpha version