TODO.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ===============
  2. ToDo's for lxml
  3. ===============
  4. lxml
  5. ====
  6. In general
  7. ----------
  8. * more testing on multi-threading
  9. * better exception messages for XPath and schemas based on error log,
  10. e.g. missing namespace mappings in XPath
  11. * when building statically, compile everything into one shared library
  12. instead of one for lxml.etree and one for lxml.objectify to prevent
  13. the redundant static linking of the library dependencies.
  14. * more testing on input/output of encoded filenames, including custom
  15. resolvers, relative XSLT imports, ...
  16. * always use '<string>' as URL when tree was parsed from string? (can libxml2
  17. handle this?)
  18. * follow PEP 8 in API naming (avoidCamelCase in_favour_of_underscores)
  19. * use per-call or per-thread error logs in XSLT/XPath/etc. to keep the
  20. messages separate, especially in exceptions
  21. * add 'nsmap' parameter to cleanup_namespaces()
  22. Entities
  23. --------
  24. * clean support for entities (is the Entity element class enough?)
  25. Objectify
  26. ---------
  27. * emulate setting special __attributes__ on ObjectifiedElement's as Python
  28. attributes, not XML children
  29. Incremental parsing
  30. -------------------
  31. * create all iterparse events only on start events and
  32. store the end events in the stack
  33. * rewrite SAX event creation in a more C-ish way to avoid having to
  34. acquire the GIL on each event