IDEAS.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Things to try out when life permits
  2. ===================================
  3. * zlib-based parsing/serialising of compressed in-memory data
  4. * requires a libxml2 I/O OutputBuffer with appropriate I/O functions
  5. that call into the lzma compression routines
  6. * lzma-based parsing/serialising of compressed in-memory data
  7. * requires a libxml2 I/O OutputBuffer with appropriate I/O functions
  8. that call into the lzma compression routines
  9. * advantage over zlib: probably faster and better compression
  10. * maybe embed the lzma C sources in the distro
  11. http://www.7-zip.org/sdk.html
  12. * generating XML using the ``with`` statement
  13. http://comments.gmane.org/gmane.comp.python.general/579950?set_lines=100000
  14. * parse-time validation against a user provided DTD
  15. * currently only works for XML Schema
  16. * somehow integrate RelaxNG compact notation (rnc versus rng)
  17. * currently not supported by libxml2 (patch exists)
  18. * support subclassing XSLTAccessControl to provide custom per-URL
  19. access check methods
  20. * maybe custom resolvers are enough, or can be combined with this?
  21. * reimplement iterparse() using the libxml2 xmlReader API
  22. * Advantage: the implementation can be made safer than the current
  23. SAX implementation, as the parser would not interact with the
  24. Python-level tree.
  25. * Disadvantage: the tree has to be built manually. In the current
  26. SAX based implementation, libxml2 does it for us.