Debian Codegraph @

TODO.txt

raw
1 ===============
2 ToDo's for lxml
3 ===============
4
5 lxml
6 ====
7
8 In general
9 ----------
10
11 * libxml2 2.14:
12
13 disableSAX -> xmlCtxtIsStopped
14 replaceEntities -> XML_PARSE_NOENT
15 progressive (unbenutzt)
16 node -> nicht mehr deprecated aber Benutzung unerwünscht
17
18 * more testing on multi-threading
19
20 * better exception messages for XPath and schemas based on error log,
21 e.g. missing namespace mappings in XPath
22
23 * when building statically, compile everything into one shared library
24 instead of one for lxml.etree and one for lxml.objectify to prevent
25 the redundant static linking of the library dependencies.
26
27 * more testing on input/output of encoded filenames, including custom
28 resolvers, relative XSLT imports, ...
29
30 * always use '<string>' as URL when tree was parsed from string? (can libxml2
31 handle this?)
32
33 * follow PEP 8 in API naming (avoidCamelCase in_favour_of_underscores)
34
35 * use per-call or per-thread error logs in XSLT/XPath/etc. to keep the
36 messages separate, especially in exceptions
37
38 * add 'nsmap' parameter to cleanup_namespaces()
39
40 * fix tail text handling in addnext()/addprevious()
41
42 * make Element nsmap editable to allow defining new namespaces (LP#555602)
43
44
45 Entities
46 --------
47
48 * clean support for entities (is the Entity element class enough?)
49
50
51 Objectify
52 ---------
53
54 * emulate setting special __attributes__ on ObjectifiedElement's as Python
55 attributes, not XML children
56
57
58 Incremental parsing
59 -------------------
60
61 * create all iterparse events only on start events and
62 store the end events in the stack
63
64 * rewrite SAX event creation in a more C-ish way to avoid having to
65 acquire the GIL on each event