~ubuntu-branches/ubuntu/oneiric/lxml/oneiric

« back to all changes in this revision

Viewing changes to CHANGES.txt

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-10-06 20:09:26 UTC
  • Revision ID: james.westby@ubuntu.com-20051006200926-bdrgwr7j8pzbts63
Tags: upstream-0.7
ImportĀ upstreamĀ versionĀ 0.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
lxml changelog
 
2
==============
 
3
 
 
4
0.7 (2005-06-15)
 
5
================
 
6
 
 
7
Features added
 
8
--------------
 
9
 
 
10
* parameters (XPath expressions) can now be passed to XSLT using
 
11
  keyword parameters.
 
12
 
 
13
* Simple XInclude support. Calling the xinclude() method on a tree
 
14
  will process any XInclude statements in the document.
 
15
 
 
16
* XMLSchema support. Use the XMLSchema class or the convenience
 
17
  xmlschema() method on a tree to do XML Schema (XSD) validation.
 
18
 
 
19
* Added convenience xslt() method on tree. This is less efficient
 
20
  than the XSLT object, but makes it easier to write quick code.
 
21
 
 
22
* Added convenience relaxng() method on tree. This is less efficient
 
23
  than the RelaxNG object, but makes it easier to write quick code.
 
24
 
 
25
* Make it possible to use XPathEvaluator with elements as well. The
 
26
  XPathEvaluator in this case will retain the element so multiple
 
27
  XPath queries can be made against one element efficiently. This
 
28
  replaces the second argument to the .evaluate() method that existed
 
29
  previously.
 
30
 
 
31
* Allow registerNamespace() to be called on an XPathEvaluator, after
 
32
  creation, to add additional namespaces. Also allow registerNamespaces(),
 
33
  which does the same for a namespace dictionary.
 
34
 
 
35
* Add 'prefix' attribute to element to be able to read prefix information.
 
36
  This is entirely read-only.
 
37
 
 
38
* It is possible to supply an extra nsmap keyword parameter to
 
39
  the Element() and SubElement() constructors, which supplies a
 
40
  prefix to namespace URI mapping. This will create namespace
 
41
  prefix declarations on these elements and these prefixes will show up
 
42
  in XML serialization.
 
43
  
 
44
Bugs fixed
 
45
----------
 
46
 
 
47
* Killed yet another memory management related bug: trees created
 
48
  using newDoc would not get a libxml2-level dictionary, which caused
 
49
  problems when deallocating these documents later if they contained a
 
50
  node that came from a document with a dictionary.
 
51
 
 
52
* Moving namespaced elements between documents was problematic as 
 
53
  references to the original document would remain. This has been fixed
 
54
  by applying xmlReconciliateNs() after each move operation.
 
55
 
 
56
* Can pass None to 'dump()' without segfaults.
 
57
 
 
58
* tostring() now works properly for non-root elements as well.
 
59
 
 
60
* Cleaned out the tostring() method so it should handle encoding
 
61
  correctly.
 
62
 
 
63
* Cleaned out the ElementTree.write() method so it should handle
 
64
  encoding correctly. Writing directly to a file should also be faster
 
65
  now, as there is no need to go through a Python string in that
 
66
  case. Made sure the test cases test both serializing to StringIO as
 
67
  well as serializing to a real file.
 
68
 
 
69
0.6 (2005-05-14)
 
70
================
 
71
 
 
72
Features added
 
73
--------------
 
74
 
 
75
* Changed setup.py so that library_dirs is also guessed. This should
 
76
  help with compilation on the Mac OS X platform, where otherwise the
 
77
  wrong library (shipping with the OS) could be picked up.
 
78
 
 
79
* Tweaked setup.py so that it picks up the version from version.txt.
 
80
 
 
81
Bugs fixed
 
82
----------
 
83
 
 
84
* Do the right thing when handling namespaced attributes.
 
85
 
 
86
* fix bug where tostring() moved nodes into new documents. tostring()
 
87
  had very nasty side-effects before this fix, sorry!
 
88
 
 
89
0.5.1 (2005-04-09)
 
90
==================
 
91
 
 
92
* Python 2.2 compatibility fixes.
 
93
 
 
94
* unicode fixes in Element() and Comment() as well as XML(); unicode
 
95
  input wasn't properly being UTF-8 encoded.
 
96
 
 
97
0.5 (2005-04-08)
 
98
================
 
99
 
 
100
Initial public release.