Debian Codegraph @

IDEAS.txt

raw
1 Things to try out when life permits
2 ===================================
3
4 * zlib-based parsing/serialising of compressed in-memory data
5
6 * requires a libxml2 I/O OutputBuffer with appropriate I/O functions
7 that call into the zlib compression routines
8
9 * lzma-based parsing/serialising of compressed in-memory data
10
11 * requires a libxml2 I/O OutputBuffer with appropriate I/O functions
12 that call into the lzma compression routines
13
14 * advantage over zlib: probably faster and better compression
15
16 * maybe embed the lzma C sources in the distro
17 http://www.7-zip.org/sdk.html
18
19 * parse-time validation against a user provided DTD
20
21 * currently only works for XML Schema
22
23 * support subclassing XSLTAccessControl to provide custom per-URL
24 access check methods
25
26 * maybe custom resolvers are enough, or can be combined with this?
27
28 * reimplement iterparse() using the libxml2 xmlReader API
29
30 * Advantage: the implementation can be made safer than the current
31 SAX implementation, as the parser would not interact with the
32 Python-level tree.
33
34 * Disadvantage: the tree has to be built manually. In the current
35 SAX based implementation, libxml2 does it for us.
36
37 * provide an HTMLParser wrapper that handles broken encodings in broken
38 HTML better, e.g. using BeautifulSoup's "unicode dammit" analyser
39
40 * expose namespace prefixes through the QName class
41